OnBind

annotation class OnBind

A method annotation used in classes that are annotated with MountSpec.

Methods annotated with OnBind take a ComponentContext as the first parameter, the Object that the MountSpec mounts as the second parameter, followed by any number of Props.

The method should return void. This callback will be invoked every time the mounted object is about to become active after being mounted. This method can be called multiple times after onMount with the same mounted content.

Functions

Link copied to clipboard
abstract fun annotationType(): Class<out Annotation>
Link copied to clipboard
abstract fun equals(p: Any): Boolean
Link copied to clipboard
abstract fun hashCode(): Int
Link copied to clipboard
abstract fun toString(): String