public abstract class SectionAdapter<T extends Sectionable> extends BaseSectionAdapter implements android.widget.Filterable
PINNED_HEADER_GONE, PINNED_HEADER_PUSHED_UP, PINNED_HEADER_VISIBLE, TAG| Constructor and Description | 
|---|
SectionAdapter()  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
clear()  | 
int | 
getCount()  | 
android.widget.Filter | 
getFilter()  | 
T | 
getItem(int position)  | 
long | 
getItemId(int position)  | 
int | 
getPositionForSection(int section)  | 
int | 
getSectionForPosition(int position)  | 
String[] | 
getSections()  | 
String[] | 
getSectionsWithFullName()  | 
boolean | 
isPositionBottomOfSection(int position)  | 
boolean | 
isPositionTopOfSection(int position)  | 
void | 
replaceDataInSection(String section,
                    List<T> dataForSection)  | 
void | 
setData(List<T> unSectionedList)  | 
void | 
setDataManually(List<android.util.Pair<String,List<T>>> data)  | 
bindSectionHeader, configurePinnedHeader, getAmazingView, getPinnedHeaderState, getView, onScroll, onScrollStateChangedpublic void clear()
public int getCount()
getCount in interface android.widget.Adapterpublic T getItem(int position)
getItem in interface android.widget.Adapterpublic long getItemId(int position)
getItemId in interface android.widget.Adapterpublic int getPositionForSection(int section)
getPositionForSection in interface android.widget.SectionIndexergetPositionForSection in class BaseSectionAdapterpublic int getSectionForPosition(int position)
getSectionForPosition in interface android.widget.SectionIndexergetSectionForPosition in class BaseSectionAdapterpublic String[] getSections()
getSections in interface android.widget.SectionIndexergetSections in class BaseSectionAdapterpublic String[] getSectionsWithFullName()
public boolean isPositionTopOfSection(int position)
public boolean isPositionBottomOfSection(int position)
public android.widget.Filter getFilter()
getFilter in interface android.widget.FilterableCopyright © 2011–2014. All rights reserved.