public class

FilterFormCellBindingAdapter

extends Object
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

Public Constructors
FilterFormCellBindingAdapter()
Public Methods
static void setCellChangeListener(FilterFormCell filterFormCell, boolean isEditable)
static void setValue(FilterFormCell filterFormCell, int[] value)
setValue function in FilterFormCell takes ArrayList as data-type.
[Expand]
Inherited Methods
From class java.lang.Object

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