java.lang.Object | |
↳ | com.sap.cloud.mobile.fiori.formcell.GenericListPickerFormCellAdapter<V extends android.view.View, T extends java.io.Serializable> |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
GenericListPickerFormCellAdapter() |
Protected Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
abstract T |
getId(int pos)
Given the position get the Id of the element.
| ||||||||||
int |
getItemBottomMargin(Context context)
Get the bottom margin to be applied to the item view while putting it into Picker Cell
| ||||||||||
abstract int |
getItemCount()
How many types of View to be inflated in the list filter
| ||||||||||
int |
getItemTopMargin(Context context)
Get the top margin to be applied to the item view while putting it into Picker Cell
| ||||||||||
abstract int |
getItemViewType(int position)
Type of View to be inflated in the list filter at index represented by position
| ||||||||||
int |
getSelectorBottomMargin(Context context)
Get the bottom margin to be applied to the selector view (Radio or checkbox)
| ||||||||||
int |
getSelectorGravity()
Get the gravity of the selector drawable
| ||||||||||
int |
getSelectorTopMargin(Context context)
Get the top margin to be applied to the item view while putting it into Picker Cell
| ||||||||||
void |
onBindPosition(int pos)
A callback mechanism to notify the user that view at given position was just loaded.
| ||||||||||
abstract void |
onBindView(V view, T id)
Bind the view for the data at position represented by position
| ||||||||||
abstract V |
onCreateView(int viewType, Context context)
Create the view of type represented by viewType and context
| ||||||||||
void | onSelectionChanged(T id, boolean isSelected) |
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Given the position get the Id of the element.
pos | position |
---|
Get the bottom margin to be applied to the item view while putting it into Picker Cell
How many types of View to be inflated in the list filter
Get the top margin to be applied to the item view while putting it into Picker Cell
Type of View to be inflated in the list filter at index represented by position
position | int |
---|
Get the bottom margin to be applied to the selector view (Radio or checkbox)
Get the gravity of the selector drawable
Get the top margin to be applied to the item view while putting it into Picker Cell
A callback mechanism to notify the user that view at given position was just loaded.
pos | int |
---|
Bind the view for the data at position represented by position
view | View |
---|---|
id | int |
Create the view of type represented by viewType and context
viewType | int |
---|---|
context | Context |