Save the date! Android Dev Summit is coming to Mountain View, CA on November 7-8, 2018.

MergedDataBinderMapper

public class MergedDataBinderMapper
extends Object

java.lang.Object
   ↳ android.databinding.MergedDataBinderMapper


A data binding mapper that merges other mappers.

Summary

Public constructors

MergedDataBinderMapper()

Public methods

String convertBrIdToString(int id)
ViewDataBinding getDataBinder(DataBindingComponent bindingComponent, View[] view, int layoutId)
ViewDataBinding getDataBinder(DataBindingComponent bindingComponent, View view, int layoutId)
int getLayoutId(String tag)

Protected methods

void addMapper(DataBinderMapper mapper)
void addMapper(String featureMapper)

Inherited methods

From class java.lang.Object

Public constructors

MergedDataBinderMapper

MergedDataBinderMapper ()

Public methods

convertBrIdToString

String convertBrIdToString (int id)

Parameters
id int

Returns
String

getDataBinder

ViewDataBinding getDataBinder (DataBindingComponent bindingComponent, 
                View[] view, 
                int layoutId)

Parameters
bindingComponent DataBindingComponent

view View

layoutId int

Returns
ViewDataBinding

getDataBinder

ViewDataBinding getDataBinder (DataBindingComponent bindingComponent, 
                View view, 
                int layoutId)

Parameters
bindingComponent DataBindingComponent

view View

layoutId int

Returns
ViewDataBinding

getLayoutId

int getLayoutId (String tag)

Parameters
tag String

Returns
int

Protected methods

addMapper

void addMapper (DataBinderMapper mapper)

Parameters
mapper DataBinderMapper

addMapper

void addMapper (String featureMapper)

Parameters
featureMapper String