class ViewBoundCallback : (View) -> Unit
Callback to be invoked once the custom item view gets created and bound. It is to be used when some views inside need to be updated once inflated.
This class is an extension for closure based callback that provides additional functionality such as dismissing popup.
callback
- block of the callback in which you can bind the given view
ViewBoundCallback(: ViewBoundCallback.(View) -> Unit)
Callback to be invoked once the custom item view gets created and bound. It is to be used when some views inside need to be updated once inflated. |
fun dismissPopup(): Unit
Dismisses the shown popup. |
|
fun invoke(: View): Unit |