BaseAdapter
declare abstract class BaseAdapter implements ListAdapter {}
BaseAdapter
Instance Method
hasStableIds
Signature
declare class BaseAdapter {
hasStableIds(): boolean;
}
Description
Indicates whether the item ids are stable across changes to the underlying data.
isEmpty
Signature
declare class BaseAdapter {
isEmpty(): boolean;
}
Description
Check adapter is empty.
getItemId
Signature
declare class BaseAdapter {
getItemId(position: number): number;
}
Description
Get the row id associated with the specified position in the list.
getCount
Signature
declare class BaseAdapter {
getCount(): number;
}
Description
How many items are in the data set represented by this Adapter.
getItem
Signature
declare class BaseAdapter {
getItem(position: number): Object;
}
Description
Get the data item associated with the specified position in the data set.
getItemViewType
Signature
declare class BaseAdapter {
getItemViewType(position: number): number;
}
Description
Get the type of View that will be created bygetView(int, View, ViewGroup)
for the specified item.
getViewTypeCount
Signature
declare class BaseAdapter {
getViewTypeCount(): number;
}
Description
Returns the number of types of Views that will be created bygetView(int, View, ViewGroup)
.
getView
Signature
declare class BaseAdapter {
getView(position: number, convertView: View, parent: ViewGroup): View;
}
Description
Get a View that displays the data at the specified position in the data set.