FreeRDP
com.freerdp.freerdpcore.utils.SeparatedListAdapter Class Reference
Inheritance diagram for com.freerdp.freerdpcore.utils.SeparatedListAdapter:
Collaboration diagram for com.freerdp.freerdpcore.utils.SeparatedListAdapter:

Public Member Functions

 SeparatedListAdapter (Context context)
 
void addSection (String section, Adapter adapter)
 
void setSectionTitle (int section, String title)
 
Object getItem (int position)
 
int getCount ()
 
int getViewTypeCount ()
 
int getItemViewType (int position)
 
boolean areAllItemsSelectable ()
 
boolean isEnabled (int position)
 
View getView (int position, View convertView, ViewGroup parent)
 
long getItemId (int position)
 
String getSectionForPosition (int position)
 

Data Fields

final Map< String, Adapter > sections = new LinkedHashMap<String, Adapter>()
 
final ArrayAdapter< String > headers
 

Static Public Attributes

static final int TYPE_SECTION_HEADER = 0
 

Constructor & Destructor Documentation

com.freerdp.freerdpcore.utils.SeparatedListAdapter.SeparatedListAdapter ( Context  context)
inline

Member Function Documentation

void com.freerdp.freerdpcore.utils.SeparatedListAdapter.addSection ( String  section,
Adapter  adapter 
)
inline

Here is the caller graph for this function:

boolean com.freerdp.freerdpcore.utils.SeparatedListAdapter.areAllItemsSelectable ( )
inline
int com.freerdp.freerdpcore.utils.SeparatedListAdapter.getCount ( )
inline
Object com.freerdp.freerdpcore.utils.SeparatedListAdapter.getItem ( int  position)
inline
long com.freerdp.freerdpcore.utils.SeparatedListAdapter.getItemId ( int  position)
inline

Here is the caller graph for this function:

int com.freerdp.freerdpcore.utils.SeparatedListAdapter.getItemViewType ( int  position)
inline

Here is the caller graph for this function:

String com.freerdp.freerdpcore.utils.SeparatedListAdapter.getSectionForPosition ( int  position)
inline

Here is the caller graph for this function:

View com.freerdp.freerdpcore.utils.SeparatedListAdapter.getView ( int  position,
View  convertView,
ViewGroup  parent 
)
inline
int com.freerdp.freerdpcore.utils.SeparatedListAdapter.getViewTypeCount ( )
inline
boolean com.freerdp.freerdpcore.utils.SeparatedListAdapter.isEnabled ( int  position)
inline

Here is the call graph for this function:

void com.freerdp.freerdpcore.utils.SeparatedListAdapter.setSectionTitle ( int  section,
String  title 
)
inline

Field Documentation

final ArrayAdapter<String> com.freerdp.freerdpcore.utils.SeparatedListAdapter.headers
final Map<String, Adapter> com.freerdp.freerdpcore.utils.SeparatedListAdapter.sections = new LinkedHashMap<String, Adapter>()
final int com.freerdp.freerdpcore.utils.SeparatedListAdapter.TYPE_SECTION_HEADER = 0
static

The documentation for this class was generated from the following file: