UIKit Android v3
Bind event handlers to the view
In all UIKit fragments, you can override the
onBeforeReady() method. In order to receive events that occur in the view of a component, a binding method is called. Each component has a binding method, such as
onBindMessageInputComponent, which is called to bind event handlers to the fragment. If you inherited the fragment, we recommend that you set the event handlers of the component within the
onBeforeReady() method or the binding method.
Note: In the code below, the tap event of the left button in
MessageInputComponentis used as an example but you can replace it with any other events.
Note: We recommend you to bind the event handlers of a component after the
onCreateView()of the module is called.