Package

iota

Permalink

package iota

Linear Supertypes
AllComponents, TextCombinators, LayoutCombinators, ImageCombinators, ViewCombinators, Configurations, Themes, Contexts, TernaryOps, Views, IdMacros, Combinators, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. iota
  2. AllComponents
  3. TextCombinators
  4. LayoutCombinators
  5. ImageCombinators
  6. ViewCombinators
  7. Configurations
  8. Themes
  9. Contexts
  10. TernaryOps
  11. Views
  12. IdMacros
  13. Combinators
  14. AnyRef
  15. Any
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

Type Members

  1. trait HasActivity extends AnyRef

    Permalink

    When an android.app.Activity can't be found automatically using the implicits in iota._ or iota.std.Contexts._ implement this trait to help the implicit out

  2. trait HasContext extends AnyRef

    Permalink

    When a android.content.Context can't be found automatically using the implicits in iota._ or iota.std.Contexts._ implement this trait to help the implicit out

  3. class IO[+A] extends AnyRef

    Permalink

    side-effect tracker.

    side-effect tracker. call perform to execute the side-effects within

  4. implicit final class IOKleisli[-A, +B] extends AnyVal

    Permalink
  5. trait IdMacros extends AnyRef

    Permalink

  6. type Kestrel[A] = (A) ⇒ IO[A]

    Permalink
  7. implicit final class Metrics extends AnyVal

    Permalink
  8. final case class SystemService[T](name: String) extends AnyVal with Product with Serializable

    Permalink

    Annotations
    @implicitNotFound( ... )
  9. sealed trait Ternary[A] extends AnyRef

    Permalink
  10. implicit final class ViewFinder extends AnyVal

    Permalink
  11. case class ViewIdType[+A]()(implicit evidence$1: ClassTag[A]) extends Product with Serializable

    Permalink
    Annotations
    @implicitNotFound( ... )
  12. trait Views extends AnyRef

    Permalink

  13. implicit final class WithTernaryOp extends AnyVal

    Permalink
  14. class cHelper[A <: ViewGroup] extends AnyRef

    Permalink

    type inference currying helper for c

    type inference currying helper for c

    Definition Classes
    Views

Value Members

  1. object IO

    Permalink
  2. object Id extends Dynamic

    Permalink

  3. def backgroundColor[A <: View](color: String): Kestrel[A]

    Permalink
    Definition Classes
    ViewCombinators
  4. def backgroundColor[A <: View](color: Int): Kestrel[A]

    Permalink
    Definition Classes
    ViewCombinators
  5. def backgroundDrawable[A <: View](d: Drawable): Kestrel[A]

    Permalink
    Definition Classes
    ViewCombinators
  6. def backgroundResource[A <: View](resid: Int): Kestrel[A]

    Permalink
    Definition Classes
    ViewCombinators
  7. def c[A <: ViewGroup]: cHelper[A]

    Permalink

    a type-hint is required when using lp or lpK outside of IO[ViewGroup].apply(IO[View]*), use c[ViewGroup](B) => B to provide B with the the type hint required to use lp and lpK

    a type-hint is required when using lp or lpK outside of IO[ViewGroup].apply(IO[View]*), use c[ViewGroup](B) => B to provide B with the the type hint required to use lp and lpK

    Definition Classes
    Views
  8. def clickable[A <: View]: Kestrel[A]

    Permalink
    Definition Classes
    ViewCombinators
  9. def clickable[A <: View](canclick: Boolean): Kestrel[A]

    Permalink
    Definition Classes
    ViewCombinators
  10. def condK[A](ternary: Ternary[A]): Kestrel[A]

    Permalink

    create a K-combinator based on a ternary expression.

    create a K-combinator based on a ternary expression. for example: condK(istrue ? (yes => IO[yes]) | (no => IO[no]))

    Definition Classes
    TernaryOps
  11. def disabled[A <: View]: Kestrel[A]

    Permalink
    Definition Classes
    ViewCombinators
  12. def elevation[A <: View](elevation: Float): Kestrel[A]

    Permalink
    Definition Classes
    ViewCombinators
  13. def enabled[A <: View]: Kestrel[A]

    Permalink
    Definition Classes
    ViewCombinators
  14. def enabled[A <: View](enable: Boolean): Kestrel[A]

    Permalink
    Definition Classes
    ViewCombinators
  15. def findView[A <: View](id: Int)(implicit arg0: ViewIdType[A], arg1: ClassTag[A], activity: Activity): A

    Permalink

    find a strongly-typed view.

    find a strongly-typed view. will fail to compile if id(xxx) is not used prior in the source

    Definition Classes
    Contexts
  16. def findViewOption[A <: View](id: Int)(implicit arg0: ViewIdType[A], arg1: ClassTag[A], activity: Activity): Option[A]

    Permalink

    find a strongly-typed view.

    find a strongly-typed view. will fail to compile if id(xxx) is not used prior in the source

    Definition Classes
    Contexts
  17. def gone[A <: View]: Kestrel[A]

    Permalink
    Definition Classes
    ViewCombinators
  18. def hint[A <: TextView](hint: Int): Kestrel[A]

    Permalink
    Definition Classes
    TextCombinators
  19. def hint[A <: TextView](hint: CharSequence): Kestrel[A]

    Permalink
    Definition Classes
    TextCombinators
  20. def hintColor[A <: TextView](color: Int): Kestrel[A]

    Permalink
    Definition Classes
    TextCombinators
  21. object hook extends Dynamic

    Permalink

    dynamic class for automatically setting event listeners.

    dynamic class for automatically setting event listeners. For example hook.onClick((v: View) => IO { perform work onClick }), apply this to an IO[View] using >>=

    Definition Classes
    ViewCombinators
  22. object hook0 extends Dynamic

    Permalink

    dynamic class for automatically setting event listeners.

    dynamic class for automatically setting event listeners. For example hook0.onClick(IO { perform work onClick }), apply this to an IO[View] using >>=

    Definition Classes
    ViewCombinators
  23. object hookM extends Dynamic

    Permalink

    dynamic class for automatically setting event listeners.

    dynamic class for automatically setting event listeners. For example hookM.onScroll.onScrollStateChanged((rv: RecyclerView, state: Int) => IO { perform work onClick }), apply this to an IO[View] using >>=

    Definition Classes
    ViewCombinators
  24. object hookM0 extends Dynamic

    Permalink

    dynamic class for automatically setting event listeners.

    dynamic class for automatically setting event listeners. For example hookM0.onScroll.onScrollStateChanged(IO { perform work onClick }), apply this to an IO[View] using >>=

    Definition Classes
    ViewCombinators
  25. def html[A <: TextView](html: String): Kestrel[A]

    Permalink
    Definition Classes
    TextCombinators
  26. macro def id[A <: View](id: Int): Kestrel[A]

    Permalink
    Definition Classes
    ViewCombinators
  27. def imageResource[A <: ImageView](resid: Int): Kestrel[A]

    Permalink
    Definition Classes
    ImageCombinators
  28. def imageScale[A <: ImageView](scaleType: ScaleType): Kestrel[A]

    Permalink
    Definition Classes
    ImageCombinators
  29. def inputType[A <: TextView](types: Int): Kestrel[A]

    Permalink
    Definition Classes
    TextCombinators
  30. def invisible[A <: View]: Kestrel[A]

    Permalink
    Definition Classes
    ViewCombinators
  31. def kestrel[A, B](f: (A) ⇒ B): Kestrel[A]

    Permalink

    K-combinator, perform side-effects on A and automatically return A

    K-combinator, perform side-effects on A and automatically return A

    Definition Classes
    Combinators
  32. macro def l[A <: ViewGroup](vs: IO[_ <: View]*)(implicit ctx: Context): IO[A]

    Permalink

    create any android ViewGroup that takes Context as a single constructor parameter.

    create any android ViewGroup that takes Context as a single constructor parameter. additionally, provides type hints for the use of lp and lpK for constructing LayoutParams

    Definition Classes
    Views
  33. def landscape(implicit c: Context): Boolean

    Permalink

    orientation checker, true if landscape

    orientation checker, true if landscape

    Definition Classes
    Configurations
    Annotations
    @inline()
  34. def lp[V <: View](args: Any*): Kestrel[V]

    Permalink

    Set layout params for a view lp(MATCH_PARENT, MATCH_PARENT)

    Set layout params for a view lp(MATCH_PARENT, MATCH_PARENT)

    Definition Classes
    LayoutCombinators
    Annotations
    @compileTimeOnly( ... )
  35. def lpK[V <: View, A, B](args: Any*)(k: (A) ⇒ B): Kestrel[V]

    Permalink
    Definition Classes
    LayoutCombinators
    Annotations
    @compileTimeOnly( ... )
  36. def margins(left: Int = 0, top: Int = 0, right: Int = 0, bottom: Int = 0, all: Int = 1): (MarginLayoutParams) ⇒ Unit

    Permalink
    Definition Classes
    LayoutCombinators
    Annotations
    @inline()
  37. implicit macro def materializeActivity: Activity

    Permalink
    Definition Classes
    Contexts
  38. implicit macro def materializeContext: Context

    Permalink

    pull a context out of "thin air", checks for Activity, Fragment and WithContext

    pull a context out of "thin air", checks for Activity, Fragment and WithContext

    Definition Classes
    Contexts
  39. implicit macro def materializeIdType: ViewIdType[Any]

    Permalink
    Definition Classes
    IdMacros
  40. implicit macro def materializeSystemService[T]: SystemService[T]

    Permalink
    Definition Classes
    Contexts
  41. implicit val nsd system service: SystemService[NsdManager]

    Permalink
    Definition Classes
    Contexts
  42. def padding[A <: View](left: Int = 0, top: Int = 0, right: Int = 0, bottom: Int = 0, all: Int = 1): Kestrel[A]

    Permalink
    Definition Classes
    ViewCombinators
  43. def portrait(implicit c: Context): Boolean

    Permalink

    orientation checker, true if portrait

    orientation checker, true if portrait

    Definition Classes
    Configurations
    Annotations
    @inline()
  44. def resolveAttr[A](attr: Int, f: (TypedValue) ⇒ A)(implicit ctx: Context): A

    Permalink

    resolve a single theme attribute

    resolve a single theme attribute

    Definition Classes
    Themes
  45. def singleLine[A <: TextView]: Kestrel[A]

    Permalink
    Definition Classes
    TextCombinators
  46. def singleLine[A <: TextView](single: Boolean): Kestrel[A]

    Permalink
    Definition Classes
    TextCombinators
  47. package std

    Permalink
  48. def sw(widthPx: Int)(implicit c: Context): Boolean

    Permalink

    smallest width checker

    smallest width checker

    Definition Classes
    Configurations
    Annotations
    @inline()
  49. def systemService[T](implicit s: SystemService[T], context: Context): T

    Permalink

    type-safe retrieval of system service objects.

    type-safe retrieval of system service objects. e.g. systemService[NotificationManager]

    Definition Classes
    Contexts
    Annotations
    @inline()
  50. implicit val telephony system service: SystemService[TelephonyManager]

    Permalink
    Definition Classes
    Contexts
  51. def text[A <: TextView](text: Int): Kestrel[A]

    Permalink
    Definition Classes
    TextCombinators
  52. def text[A <: TextView](text: CharSequence): Kestrel[A]

    Permalink
    Definition Classes
    TextCombinators
  53. def textAppearance[A <: TextView](resid: Int): Kestrel[A]

    Permalink
    Definition Classes
    TextCombinators
  54. def textColor[A <: TextView](color: Int): Kestrel[A]

    Permalink
    Definition Classes
    TextCombinators
  55. def textGravity[A <: TextView](gravity: Int): Kestrel[A]

    Permalink
    Definition Classes
    TextCombinators
  56. def textTransformation[A <: TextView](transform: TransformationMethod): Kestrel[A]

    Permalink
    Definition Classes
    TextCombinators
  57. def themeAttrs[A](styleable: Array[Int], f: (TypedArray) ⇒ A)(implicit context: Context): A

    Permalink

    retrieve a set of styleable attributes

    retrieve a set of styleable attributes

    Definition Classes
    Themes
  58. def v(minVersion: Int): Boolean

    Permalink

    version checker, at least minVersion => true

    version checker, at least minVersion => true

    Definition Classes
    Configurations
    Annotations
    @inline()
  59. def visibility[A <: View](visibility: Int): Kestrel[A]

    Permalink
    Definition Classes
    ViewCombinators
  60. def visible[A <: View]: Kestrel[A]

    Permalink
    Definition Classes
    ViewCombinators
  61. macro def w[A](implicit ctx: Context): IO[A]

    Permalink

    create any android object that takes Context as a single constructor parameter

    create any android object that takes Context as a single constructor parameter

    Definition Classes
    Views

Inherited from AllComponents

Inherited from TextCombinators

Inherited from LayoutCombinators

Inherited from ImageCombinators

Inherited from ViewCombinators

Inherited from Configurations

Inherited from Themes

Inherited from Contexts

Inherited from TernaryOps

Inherited from Views

Inherited from IdMacros

Inherited from Combinators

Inherited from AnyRef

Inherited from Any

Ungrouped