Klasse AdvancedSectionAdapter<T>

java.lang.Object
android.widget.BaseAdapter
eltos.simpledialogfragment.list.AdvancedAdapter<T>
eltos.simpledialogfragment.list.AdvancedSectionAdapter<T>
Alle implementierten Schnittstellen:
android.widget.Adapter, android.widget.Filterable, android.widget.ListAdapter, android.widget.SectionIndexer, android.widget.SpinnerAdapter

public abstract class AdvancedSectionAdapter<T> extends AdvancedAdapter<T> implements android.widget.SectionIndexer
An extension of AdvancedAdapter that provides a section indexer

Created by eltos on 02.02.2017.

  • Konstruktordetails

    • AdvancedSectionAdapter

      public AdvancedSectionAdapter()
  • Methodendetails

    • notifyDataSetChanged

      public void notifyDataSetChanged()
      Setzt außer Kraft:
      notifyDataSetChanged in Klasse AdvancedAdapter<T>
    • getPositionForSection

      public int getPositionForSection(int section)
      Angegeben von:
      getPositionForSection in Schnittstelle android.widget.SectionIndexer
    • getSectionForPosition

      public int getSectionForPosition(int position)
      Angegeben von:
      getSectionForPosition in Schnittstelle android.widget.SectionIndexer
    • getSections

      public Object[] getSections()
      Angegeben von:
      getSections in Schnittstelle android.widget.SectionIndexer
    • getSectionTitle

      @Nullable public abstract String getSectionTitle(T object)
      Overwrite this method to return the section title corresponding with the given object. Equal and consecutive titles are automatically combined to sections
      Parameter:
      object - an object from the underlying data set
      Gibt zurück:
      a title representing the objects section (e.g. its first letter)