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

◆ SeparatedListAdapter()

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

Member Function Documentation

◆ addSection()

void com.freerdp.freerdpcore.utils.SeparatedListAdapter.addSection ( String  section,
Adapter  adapter 
)
inline
Here is the caller graph for this function:

◆ areAllItemsSelectable()

boolean com.freerdp.freerdpcore.utils.SeparatedListAdapter.areAllItemsSelectable ( )
inline

◆ getCount()

int com.freerdp.freerdpcore.utils.SeparatedListAdapter.getCount ( )
inline

◆ getItem()

Object com.freerdp.freerdpcore.utils.SeparatedListAdapter.getItem ( int  position)
inline

◆ getItemId()

long com.freerdp.freerdpcore.utils.SeparatedListAdapter.getItemId ( int  position)
inline
Here is the caller graph for this function:

◆ getItemViewType()

int com.freerdp.freerdpcore.utils.SeparatedListAdapter.getItemViewType ( int  position)
inline
Here is the caller graph for this function:

◆ getSectionForPosition()

String com.freerdp.freerdpcore.utils.SeparatedListAdapter.getSectionForPosition ( int  position)
inline
Here is the caller graph for this function:

◆ getView()

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

◆ getViewTypeCount()

int com.freerdp.freerdpcore.utils.SeparatedListAdapter.getViewTypeCount ( )
inline

◆ isEnabled()

boolean com.freerdp.freerdpcore.utils.SeparatedListAdapter.isEnabled ( int  position)
inline
Here is the call graph for this function:

◆ setSectionTitle()

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

Field Documentation

◆ headers

final ArrayAdapter<String> com.freerdp.freerdpcore.utils.SeparatedListAdapter.headers

◆ sections

final Map<String, Adapter> com.freerdp.freerdpcore.utils.SeparatedListAdapter.sections = new LinkedHashMap<String, Adapter>()

◆ TYPE_SECTION_HEADER

final int com.freerdp.freerdpcore.utils.SeparatedListAdapter.TYPE_SECTION_HEADER = 0
static

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