CustomView

interface CustomView

Designed to init constructors for custom views and provide coroutine contexts

Since

v1.0.X

Inheritors

Functions

Link copied to clipboard
abstract fun onInit(context: Context, attrs: AttributeSet? = null, styleAttr: Int? = null)

Callable in view constructors to perform view inflation and attribute initialization

Link copied to clipboard
open fun onViewRecycled()

Should be called on a view's detach from window to unbind or release object references and cancel all running coroutine jobs if the current view