java.lang.Object |
↳ |
com.sap.cloud.mobile.fiori.bindingadapters.FilterFormCellBindingAdapter |
Class Overview
A text array from a resource file can be passed as parameter to an attribute using android:entries as the name. Since the method to set the value options is different, we need to explicitly bind this attribute to the correct method of the view class.
Summary
[Expand]
Inherited Methods |
From class
java.lang.Object
Object
|
clone()
|
boolean
|
equals(Object arg0)
|
void
|
finalize()
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait(long arg0, int arg1)
|
final
void
|
wait(long arg0)
|
final
void
|
wait()
|
|
Public Constructors
public
FilterFormCellBindingAdapter
()
Public Methods
public
static
void
setCellChangeListener
(FilterFormCell filterFormCell, boolean isEditable)
public
static
void
setValue
(FilterFormCell filterFormCell, int[] value)
setValue function in FilterFormCell takes ArrayList as data-type. So convert the int[] to ArrayList and call the setValue function of the view.
Parameters
filterFormCell |
FilterFormCell object |
value |
array of index of selected items
|