ClickEvent

open class ClickEvent

Components should implement an event of this type in order to receive Android click events. The method is equivalent to the Android method onClick. An example of the correct usage is:




static void onClick(
    ComponentContext c,
    View view,
    Param someParam,
    Prop someProp) {
  // Handle the click here.
}
</pre>

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard
open var view: View