Package

iota

Permalink

package iota

Linear Supertypes
DefaultExtensions, AndroidView, MainComponents, Configurations, Themes, Contexts, Single, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. iota
  2. DefaultExtensions
  3. AndroidView
  4. MainComponents
  5. Configurations
  6. Themes
  7. Contexts
  8. Single
  9. AnyRef
  10. Any
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

Type Members

  1. implicit class AnyCanAccessibilityManagerOnAccessibilityStateChanged[A] extends AnyRef

    Permalink
    Definition Classes
    AndroidView
  2. implicit class AnyCanAccessibilityManagerOnTouchExplorationStateChanged[A] extends AnyRef

    Permalink
    Definition Classes
    AndroidView
  3. implicit class AnyCanActionProviderOnActionProviderVisibilityChanged[A] extends AnyRef

    Permalink
    Definition Classes
    AndroidView
  4. implicit class AnyCanGestureDetectorOnContextClick[A] extends AnyRef

    Permalink
    Definition Classes
    AndroidView
  5. implicit class AnyCanLayoutInflaterOnCreateView[A] extends AnyRef

    Permalink
    Definition Classes
    AndroidView
  6. implicit class AnyCanLayoutInflaterOnLoadClass[A] extends AnyRef

    Permalink
    Definition Classes
    AndroidView
  7. implicit class AnyCanMenuItemOnMenuItemClick[A] extends AnyRef

    Permalink
    Definition Classes
    AndroidView
  8. implicit class AnyCanViewOnApplyWindowInsets[A] extends AnyRef

    Permalink
    Definition Classes
    AndroidView
  9. implicit class AnyCanViewOnClick[A] extends AnyRef

    Permalink
    Definition Classes
    AndroidView
  10. implicit class AnyCanViewOnContextClick[A] extends AnyRef

    Permalink
    Definition Classes
    AndroidView
  11. implicit class AnyCanViewOnCreateContextMenu[A] extends AnyRef

    Permalink
    Definition Classes
    AndroidView
  12. implicit class AnyCanViewOnDrag[A] extends AnyRef

    Permalink
    Definition Classes
    AndroidView
  13. implicit class AnyCanViewOnFocusChange[A] extends AnyRef

    Permalink
    Definition Classes
    AndroidView
  14. implicit class AnyCanViewOnGenericMotion[A] extends AnyRef

    Permalink
    Definition Classes
    AndroidView
  15. implicit class AnyCanViewOnHover[A] extends AnyRef

    Permalink
    Definition Classes
    AndroidView
  16. implicit class AnyCanViewOnKey[A] extends AnyRef

    Permalink
    Definition Classes
    AndroidView
  17. implicit class AnyCanViewOnLayoutChange[A] extends AnyRef

    Permalink
    Definition Classes
    AndroidView
  18. implicit class AnyCanViewOnLongClick[A] extends AnyRef

    Permalink
    Definition Classes
    AndroidView
  19. implicit class AnyCanViewOnScrollChange[A] extends AnyRef

    Permalink
    Definition Classes
    AndroidView
  20. implicit class AnyCanViewOnSystemUiVisibilityChange[A] extends AnyRef

    Permalink
    Definition Classes
    AndroidView
  21. implicit class AnyCanViewOnTouch[A] extends AnyRef

    Permalink
    Definition Classes
    AndroidView
  22. implicit class AnyCanViewStubOnInflate[A] extends AnyRef

    Permalink
    Definition Classes
    AndroidView
  23. implicit class AnyCanViewTreeObserverOnDraw[A] extends AnyRef

    Permalink
    Definition Classes
    AndroidView
  24. implicit class AnyCanViewTreeObserverOnGlobalFocusChanged[A] extends AnyRef

    Permalink
    Definition Classes
    AndroidView
  25. implicit class AnyCanViewTreeObserverOnGlobalLayout[A] extends AnyRef

    Permalink
    Definition Classes
    AndroidView
  26. implicit class AnyCanViewTreeObserverOnPreDraw[A] extends AnyRef

    Permalink
    Definition Classes
    AndroidView
  27. implicit class AnyCanViewTreeObserverOnScrollChanged[A] extends AnyRef

    Permalink
    Definition Classes
    AndroidView
  28. implicit class AnyCanViewTreeObserverOnTouchModeChanged[A] extends AnyRef

    Permalink
    Definition Classes
    AndroidView
  29. implicit class AnyCanViewTreeObserverOnWindowFocusChanged[A] extends AnyRef

    Permalink
    Definition Classes
    AndroidView
  30. implicit class AnyCanWindowOnRestrictedCaptionAreaChanged[A] extends AnyRef

    Permalink
    Definition Classes
    AndroidView
  31. type HasActivity = iota.module.macros.HasActivity

    Permalink

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

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

    Definition Classes
    Contexts
  32. type HasContext = iota.module.macros.HasContext

    Permalink

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

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

    Definition Classes
    Contexts
  33. implicit final class Metrics extends AnyVal

    Permalink
  34. implicit final class ViewMaker extends AnyVal

    Permalink
  35. type ViewTree[A <: ViewGroup] = iota.module.ViewTree[A]

    Permalink
  36. class single0Helper[A] extends Dynamic

    Permalink
    Definition Classes
    Single
  37. class singleHelper[A] extends Dynamic

    Permalink
    Definition Classes
    Single

Value Members

  1. val ViewTree: iota.module.ViewTree.type

    Permalink
  2. def customAttrs[A](attrs: AttributeSet, styleable: Array[Int])(f: (TypedArray) ⇒ A)(implicit context: Context): A

    Permalink

    retrieve a styled attributeset

    retrieve a styled attributeset

    Definition Classes
    Themes
  3. package effect

    Permalink

  4. final def landscape(implicit c: Context): Boolean

    Permalink

    orientation checker, true if landscape

    orientation checker, true if landscape

    Definition Classes
    Configurations
    Annotations
    @inline()
  5. implicit macro def materializeActivity: Activity

    Permalink
    Definition Classes
    Contexts
  6. implicit macro def materializeCanAccessibilityManagerOnAccessibilityStateChanged[A]: CanAccessibilityManagerOnAccessibilityStateChanged[A]

    Permalink
    Definition Classes
    AndroidView
    Annotations
    @AndroidTypeclass( register = ... , callback = "onAccessibilityStateChanged" )
  7. implicit macro def materializeCanAccessibilityManagerOnTouchExplorationStateChanged[A]: CanAccessibilityManagerOnTouchExplorationStateChanged[A]

    Permalink
    Definition Classes
    AndroidView
    Annotations
    @AndroidTypeclass( register = ... , callback = "onTouchExplorationStateChanged" )
  8. implicit macro def materializeCanActionProviderOnActionProviderVisibilityChanged[A]: CanActionProviderOnActionProviderVisibilityChanged[A]

    Permalink
    Definition Classes
    AndroidView
    Annotations
    @AndroidTypeclass( register = List("setVisibilityListener") , callback = "onActionProviderVisibilityChanged" )
  9. implicit macro def materializeCanGestureDetectorOnContextClick[A]: CanGestureDetectorOnContextClick[A]

    Permalink
    Definition Classes
    AndroidView
    Annotations
    @AndroidTypeclass( register = List("setContextClickListener") , callback = "onContextClick" )
  10. implicit macro def materializeCanLayoutInflaterOnCreateView[A]: CanLayoutInflaterOnCreateView[A]

    Permalink
    Definition Classes
    AndroidView
    Annotations
    @AndroidTypeclass( register = List("setFactory") , callback = "onCreateView" )
  11. implicit macro def materializeCanLayoutInflaterOnLoadClass[A]: CanLayoutInflaterOnLoadClass[A]

    Permalink
    Definition Classes
    AndroidView
    Annotations
    @AndroidTypeclass( register = List("setFilter") , callback = "onLoadClass" )
  12. implicit macro def materializeCanMenuItemOnMenuItemClick[A]: CanMenuItemOnMenuItemClick[A]

    Permalink
    Definition Classes
    AndroidView
    Annotations
    @AndroidTypeclass( register = List("setOnMenuItemClickListener") , callback = "onMenuItemClick" )
  13. implicit macro def materializeCanViewOnApplyWindowInsets[A]: CanViewOnApplyWindowInsets[A]

    Permalink
    Definition Classes
    AndroidView
    Annotations
    @AndroidTypeclass( register = ... , callback = "onApplyWindowInsets" )
  14. implicit macro def materializeCanViewOnClick[A]: CanViewOnClick[A]

    Permalink
    Definition Classes
    AndroidView
    Annotations
    @AndroidTypeclass( register = ... , callback = "onClick" )
  15. implicit macro def materializeCanViewOnContextClick[A]: CanViewOnContextClick[A]

    Permalink
    Definition Classes
    AndroidView
    Annotations
    @AndroidTypeclass( register = List("setOnContextClickListener") , callback = "onContextClick" )
  16. implicit macro def materializeCanViewOnCreateContextMenu[A]: CanViewOnCreateContextMenu[A]

    Permalink
    Definition Classes
    AndroidView
    Annotations
    @AndroidTypeclass( register = ... , callback = "onCreateContextMenu" )
  17. implicit macro def materializeCanViewOnDrag[A]: CanViewOnDrag[A]

    Permalink
    Definition Classes
    AndroidView
    Annotations
    @AndroidTypeclass( register = List("setOnDragListener") , callback = "onDrag" )
  18. implicit macro def materializeCanViewOnFocusChange[A]: CanViewOnFocusChange[A]

    Permalink
    Definition Classes
    AndroidView
    Annotations
    @AndroidTypeclass( register = ... , callback = "onFocusChange" )
  19. implicit macro def materializeCanViewOnGenericMotion[A]: CanViewOnGenericMotion[A]

    Permalink
    Definition Classes
    AndroidView
    Annotations
    @AndroidTypeclass( register = List("setOnGenericMotionListener") , callback = "onGenericMotion" )
  20. implicit macro def materializeCanViewOnHover[A]: CanViewOnHover[A]

    Permalink
    Definition Classes
    AndroidView
    Annotations
    @AndroidTypeclass( register = List("setOnHoverListener") , callback = "onHover" )
  21. implicit macro def materializeCanViewOnKey[A]: CanViewOnKey[A]

    Permalink
    Definition Classes
    AndroidView
    Annotations
    @AndroidTypeclass( register = List("setOnKeyListener") , callback = "onKey" )
  22. implicit macro def materializeCanViewOnLayoutChange[A]: CanViewOnLayoutChange[A]

    Permalink
    Definition Classes
    AndroidView
    Annotations
    @AndroidTypeclass( register = List("addOnLayoutChangeListener") , callback = "onLayoutChange" )
  23. implicit macro def materializeCanViewOnLongClick[A]: CanViewOnLongClick[A]

    Permalink
    Definition Classes
    AndroidView
    Annotations
    @AndroidTypeclass( register = List("setOnLongClickListener") , callback = "onLongClick" )
  24. implicit macro def materializeCanViewOnScrollChange[A]: CanViewOnScrollChange[A]

    Permalink
    Definition Classes
    AndroidView
    Annotations
    @AndroidTypeclass( register = List("setOnScrollChangeListener") , callback = "onScrollChange" )
  25. implicit macro def materializeCanViewOnSystemUiVisibilityChange[A]: CanViewOnSystemUiVisibilityChange[A]

    Permalink
    Definition Classes
    AndroidView
    Annotations
    @AndroidTypeclass( register = ... , callback = "onSystemUiVisibilityChange" )
  26. implicit macro def materializeCanViewOnTouch[A]: CanViewOnTouch[A]

    Permalink
    Definition Classes
    AndroidView
    Annotations
    @AndroidTypeclass( register = ... , callback = "onTouch" )
  27. implicit macro def materializeCanViewStubOnInflate[A]: CanViewStubOnInflate[A]

    Permalink
    Definition Classes
    AndroidView
    Annotations
    @AndroidTypeclass( register = List("setOnInflateListener") , callback = "onInflate" )
  28. implicit macro def materializeCanViewTreeObserverOnDraw[A]: CanViewTreeObserverOnDraw[A]

    Permalink
    Definition Classes
    AndroidView
    Annotations
    @AndroidTypeclass( register = List("addOnDrawListener") , callback = "onDraw" )
  29. implicit macro def materializeCanViewTreeObserverOnGlobalFocusChanged[A]: CanViewTreeObserverOnGlobalFocusChanged[A]

    Permalink
    Definition Classes
    AndroidView
    Annotations
    @AndroidTypeclass( register = ... , callback = "onGlobalFocusChanged" )
  30. implicit macro def materializeCanViewTreeObserverOnGlobalLayout[A]: CanViewTreeObserverOnGlobalLayout[A]

    Permalink
    Definition Classes
    AndroidView
    Annotations
    @AndroidTypeclass( register = List("addOnGlobalLayoutListener") , callback = "onGlobalLayout" )
  31. implicit macro def materializeCanViewTreeObserverOnPreDraw[A]: CanViewTreeObserverOnPreDraw[A]

    Permalink
    Definition Classes
    AndroidView
    Annotations
    @AndroidTypeclass( register = List("addOnPreDrawListener") , callback = "onPreDraw" )
  32. implicit macro def materializeCanViewTreeObserverOnScrollChanged[A]: CanViewTreeObserverOnScrollChanged[A]

    Permalink
    Definition Classes
    AndroidView
    Annotations
    @AndroidTypeclass( register = List("addOnScrollChangedListener") , callback = "onScrollChanged" )
  33. implicit macro def materializeCanViewTreeObserverOnTouchModeChanged[A]: CanViewTreeObserverOnTouchModeChanged[A]

    Permalink
    Definition Classes
    AndroidView
    Annotations
    @AndroidTypeclass( register = ... , callback = "onTouchModeChanged" )
  34. implicit macro def materializeCanViewTreeObserverOnWindowFocusChanged[A]: CanViewTreeObserverOnWindowFocusChanged[A]

    Permalink
    Definition Classes
    AndroidView
    Annotations
    @AndroidTypeclass( register = ... , callback = "onWindowFocusChanged" )
  35. implicit macro def materializeCanWindowOnRestrictedCaptionAreaChanged[A]: CanWindowOnRestrictedCaptionAreaChanged[A]

    Permalink
    Definition Classes
    AndroidView
    Annotations
    @AndroidTypeclass( register = ... , callback = "onRestrictedCaptionAreaChanged" )
  36. 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
  37. implicit macro def materializeSystemService[T]: SystemService[T]

    Permalink
    Definition Classes
    Contexts
  38. package module

    Permalink

  39. implicit val nsd system service: SystemService[NsdManager]

    Permalink
    Definition Classes
    Contexts
  40. final def portrait(implicit c: Context): Boolean

    Permalink

    orientation checker, true if portrait

    orientation checker, true if portrait

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

    Permalink

    resolve a single theme attribute

    resolve a single theme attribute

    Definition Classes
    Themes
  42. def single[A]: singleHelper[A]

    Permalink

    Constructs a single instance of a given abstract class or interface, can optionally specify the method name example usage: view.setOnClickListener(single[View.OnClickListener] { v: View => Toast.makeText(view.getContext, view.getId + " was clicked", Toast.LENGTH_SHORT).show() })

    Constructs a single instance of a given abstract class or interface, can optionally specify the method name example usage: view.setOnClickListener(single[View.OnClickListener] { v: View => Toast.makeText(view.getContext, view.getId + " was clicked", Toast.LENGTH_SHORT).show() })

    this version, single, requires all input parameters to be specified and handled

    Definition Classes
    Single
  43. def single0[A]: single0Helper[A]

    Permalink

    Constructs a single instance of a given abstract class or interface, can optionally specify the method name if multiple methods need implementation, only the specified method will be implemented, and others will have default, 0, implementations created

    Constructs a single instance of a given abstract class or interface, can optionally specify the method name if multiple methods need implementation, only the specified method will be implemented, and others will have default, 0, implementations created

    example usage: view.animate().x(100).setListener( single0[AnimatorListener].onAnimationEnd(view.setVisibility(View.GONE)))

    this version, single0, ignores all input parameters of the interface

    Definition Classes
    Single
  44. final def sw(widthPx: Int)(implicit c: Context): Boolean

    Permalink

    smallest width checker

    smallest width checker

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

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

    Permalink

    retrieve a set of styled theme attributes

    retrieve a set of styled theme attributes

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

    Permalink

    version checker, at least minVersion => true

    version checker, at least minVersion => true

    Definition Classes
    Configurations
    Annotations
    @inline()

Deprecated Value Members

  1. 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
    Annotations
    @deprecated
    Deprecated

    (Since version 0.9.2) Use the view holder pattern for better compile-time safety

  2. 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
    Annotations
    @deprecated
    Deprecated

    (Since version 0.9.2) Use the view holder pattern for better compile-time safety

Inherited from DefaultExtensions

Inherited from AndroidView

Inherited from MainComponents

Inherited from Configurations

Inherited from Themes

Inherited from Contexts

Inherited from Single

Inherited from AnyRef

Inherited from Any

Ungrouped