bind

fun bind(bindingClass: KClass<*>)

Binds the BR class into the BindingManager. This method only needs to be called once in the application. The BR class will be disassembled by the BindingManager, binding fields will be used for finding the proper binding ID of properties.

Parameters

bindingClass

The BR class that generated by the DataBinding processor.

Throws

If we bind non BR class into the manager.