org.positronicnet.ui

IndexedSeqSourceAdapter

class IndexedSeqSourceAdapter [T <: AnyRef] extends IndexedSeqAdapter[T]

Adapter for Notifiers which manage (and report changes to) Scala IndexedSeqs.

Like IndexedSeqAdapter, except that it wires itself up to automatically be notified of changes within the lifetime of the given activity.

Linear Supertypes
IndexedSeqAdapter[T], BaseAdapter, SpinnerAdapter, ListAdapter, Adapter, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Hide All
  2. Show all
  1. IndexedSeqSourceAdapter
  2. IndexedSeqAdapter
  3. BaseAdapter
  4. SpinnerAdapter
  5. ListAdapter
  6. Adapter
  7. AnyRef
  8. Any
Visibility
  1. Public
  2. All

Instance Constructors

  1. new IndexedSeqSourceAdapter (activity: PositronicActivityHelpers, source: Notifier[IndexedSeq[T]], itemViewResourceId: Int, binder: UiBinder)

Value Members

  1. def != (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  2. def != (arg0: Any): Boolean

    Attributes
    final
    Definition Classes
    Any
  3. def ## (): Int

    Attributes
    final
    Definition Classes
    AnyRef → Any
  4. def == (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  5. def == (arg0: Any): Boolean

    Attributes
    final
    Definition Classes
    Any
  6. def areAllItemsEnabled (): Boolean

    Definition Classes
    BaseAdapter → ListAdapter
  7. def asInstanceOf [T0] : T0

    Attributes
    final
    Definition Classes
    Any
  8. def bindView (view: View, item: T): Unit

    Make one of the views resulting from newView display a particular item.

    Make one of the views resulting from newView display a particular item. The default implementation uses the UiBinder object passed in as a constructor argument, for which the default is the UiBinder singleton.

    If the view is a TextView, and no other arrangements have been made, this will effectively do view.setText(item.toString). See the documentation on UiBinder for how to easily make it do something smarter (e.g., loading views with the values of properties named by their resource IDs).

    Definition Classes
    IndexedSeqAdapter
  9. def clone (): AnyRef

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  10. def eq (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  11. def equals (arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  12. def finalize (): Unit

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  13. def getClass (): java.lang.Class[_]

    Attributes
    final
    Definition Classes
    AnyRef
  14. def getCount (): Int

    Get number of items in the current sequence

    Get number of items in the current sequence

    Definition Classes
    IndexedSeqAdapter → Adapter
  15. def getDropDownView (arg0: Int, arg1: View, arg2: ViewGroup): View

    Definition Classes
    BaseAdapter → SpinnerAdapter
  16. def getItem (position: Int): T

    Get the n'th item from the current sequence

    Get the n'th item from the current sequence

    Definition Classes
    IndexedSeqAdapter → Adapter
  17. def getItemId (position: Int): Long

    Get the id of the n'th item from the current sequence

    Get the id of the n'th item from the current sequence

    Definition Classes
    IndexedSeqAdapter → Adapter
  18. def getItemViewType (arg0: Int): Int

    Definition Classes
    BaseAdapter → Adapter
  19. def getView (position: Int, convertView: View, parent: ViewGroup): View

    Get a view to use for the given position.

    Get a view to use for the given position. Ordinarily delegates to the newView and bindView methods, q.v.

    Definition Classes
    IndexedSeqAdapter → Adapter
  20. def getViewTypeCount (): Int

    Definition Classes
    BaseAdapter → Adapter
  21. def hasStableIds (): Boolean

    Definition Classes
    BaseAdapter → Adapter
  22. def hashCode (): Int

    Definition Classes
    AnyRef → Any
  23. var inflater : LayoutInflater

    Attributes
    protected
    Definition Classes
    IndexedSeqAdapter
  24. def isEmpty (): Boolean

    Definition Classes
    BaseAdapter → Adapter
  25. def isEnabled (arg0: Int): Boolean

    Definition Classes
    BaseAdapter → ListAdapter
  26. def isInstanceOf [T0] : Boolean

    Attributes
    final
    Definition Classes
    Any
  27. def ne (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  28. def newView (parent: ViewGroup): View

    Create a new view to display items (if our AdapterView's pool has no spares).

    Create a new view to display items (if our AdapterView's pool has no spares).

    If it's not overridden, and if an itemViewResourceId was supplied to the constructor, the default implementation will use a layout inflater to inflate that resource, and return the result.

    Definition Classes
    IndexedSeqAdapter
  29. def notify (): Unit

    Attributes
    final
    Definition Classes
    AnyRef
  30. def notifyAll (): Unit

    Attributes
    final
    Definition Classes
    AnyRef
  31. def notifyDataSetChanged (): Unit

    Definition Classes
    BaseAdapter
  32. def notifyDataSetInvalidated (): Unit

    Definition Classes
    BaseAdapter
  33. def registerDataSetObserver (arg0: DataSetObserver): Unit

    Definition Classes
    BaseAdapter → Adapter
  34. def resetSeq (newSeq: IndexedSeq[T]): Unit

    Method to reset the sequence if a new copy was (or might have been) loaded off the UI thread.

    Method to reset the sequence if a new copy was (or might have been) loaded off the UI thread.

    Definition Classes
    IndexedSeqAdapter
  35. var seq : IndexedSeq[T]

    Attributes
    protected
    Definition Classes
    IndexedSeqAdapter
  36. def synchronized [T0] (arg0: ⇒ T0): T0

    Attributes
    final
    Definition Classes
    AnyRef
  37. def toString (): String

    Definition Classes
    AnyRef → Any
  38. def unregisterDataSetObserver (arg0: DataSetObserver): Unit

    Definition Classes
    BaseAdapter → Adapter
  39. def wait (): Unit

    Attributes
    final
    Definition Classes
    AnyRef
    Annotations
    @throws()
  40. def wait (arg0: Long, arg1: Int): Unit

    Attributes
    final
    Definition Classes
    AnyRef
    Annotations
    @throws()
  41. def wait (arg0: Long): Unit

    Attributes
    final
    Definition Classes
    AnyRef
    Annotations
    @throws()

Inherited from IndexedSeqAdapter[T]

Inherited from BaseAdapter

Inherited from SpinnerAdapter

Inherited from ListAdapter

Inherited from Adapter

Inherited from AnyRef

Inherited from Any