RecyclableFrameLayout

class RecyclableFrameLayout @JvmOverloads constructor(context: Context, attrs: AttributeSet? = null, defStyleAttr: Int = 0) : FrameLayout, Recyclable

A FrameLayout that dispatches recycle calls to its child views.

Constructors

Link copied to clipboard
constructor(context: Context, attrs: AttributeSet? = null, defStyleAttr: Int = 0)

Functions

Link copied to clipboard
open override fun recycle()

Recycles the object to be used at a later point. This should free or recycle "heavy" resources and should unregister any previously registered listeners or callbacks.