Package

iota

Permalink

package iota

Linear Supertypes
AllComponents, TextCombinators, LayoutCombinators, ImageCombinators, ViewCombinators, Configurations, 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. Contexts
  9. TernaryOps
  10. Views
  11. IdMacros
  12. Combinators
  13. AnyRef
  14. 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

  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
  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 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
  9. def disabled[A <: View]: Kestrel[A]

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

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

    Permalink
    Definition Classes
    ViewCombinators
  12. 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

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

    Permalink

    find a strongly-typed view that may not be present

    find a strongly-typed view that may not be present

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

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

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

    Permalink
    Definition Classes
    TextCombinators
  17. 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
  18. 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
  19. 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
  20. 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
  21. def html[A <: TextView](html: String): Kestrel[A]

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

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

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

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

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

    Permalink
    Definition Classes
    ViewCombinators
  27. 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
  28. 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
  29. def landscape(implicit c: Context): Boolean

    Permalink

    orientation checker, true if landscape

    orientation checker, true if landscape

    Definition Classes
    Configurations
    Annotations
    @inline()
  30. 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( ... )
  31. def lpK[V <: View, A, B](args: Any*)(k: (A) ⇒ B): Kestrel[V]

    Permalink
    Definition Classes
    LayoutCombinators
    Annotations
    @compileTimeOnly( ... )
  32. 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()
  33. implicit macro def materializeActivity: Activity

    Permalink
    Definition Classes
    Contexts
  34. 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
  35. implicit macro def materializeIdType: ViewIdType[Any]

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

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

    Permalink
    Definition Classes
    Contexts
  38. 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
  39. def portrait(implicit c: Context): Boolean

    Permalink

    orientation checker, true if portrait

    orientation checker, true if portrait

    Definition Classes
    Configurations
    Annotations
    @inline()
  40. def singleLine[A <: TextView]: Kestrel[A]

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

    Permalink
    Definition Classes
    TextCombinators
  42. package std

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

    Permalink

    smallest width checker

    smallest width checker

    Definition Classes
    Configurations
    Annotations
    @inline()
  44. 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()
  45. implicit val telephony system service: SystemService[TelephonyManager]

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

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

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

    Permalink
    Definition Classes
    TextCombinators
  49. def v(minVersion: Int): Boolean

    Permalink

    version checker, at least minVersion => true

    version checker, at least minVersion => true

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

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

    Permalink
    Definition Classes
    ViewCombinators
  52. 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 Contexts

Inherited from TernaryOps

Inherited from Views

Inherited from IdMacros

Inherited from Combinators

Inherited from AnyRef

Inherited from Any

Ungrouped