public class StudentsArrayAdapter extends ArrayAdapter<StudentItemModel>
Modifier and Type | Class and Description |
---|---|
(package private) static class |
StudentsArrayAdapter.ViewHolder |
Modifier and Type | Field and Description |
---|---|
private int |
bMapScaledHeight |
private int |
bMapScaledWidth |
private int |
callerId |
private Activity |
context |
private int |
heightScale |
private List<StudentItemModel> |
list |
static String |
TAG |
private int |
widthScale |
IGNORE_ITEM_VIEW_TYPE, NO_SELECTION
Constructor and Description |
---|
StudentsArrayAdapter(Activity context,
List<StudentItemModel> list,
int callerId) |
Modifier and Type | Method and Description |
---|---|
View |
getView(int position,
View convertView,
ViewGroup parent) |
add, addAll, addAll, clear, createFromResource, getContext, getCount, getDropDownView, getFilter, getItem, getItemId, getPosition, insert, notifyDataSetChanged, remove, setDropDownViewResource, setNotifyOnChange, sort
areAllItemsEnabled, getItemViewType, getViewTypeCount, hasStableIds, isEmpty, isEnabled, notifyDataSetInvalidated, registerDataSetObserver, unregisterDataSetObserver
private final List<StudentItemModel> list
private final Activity context
private int widthScale
private int heightScale
private int bMapScaledWidth
private int bMapScaledHeight
private final int callerId
public static final String TAG
public StudentsArrayAdapter(Activity context, List<StudentItemModel> list, int callerId)
public View getView(int position, View convertView, ViewGroup parent)
getView
in interface Adapter
getView
in class ArrayAdapter<StudentItemModel>