@Retention(value=CLASS)
public @interface OnBind
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
Prop
s.
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.