onAttachedToScreen

protected open override fun onAttachedToScreen()

Override this function to be notified when the ui element is attached to a screen

The screen an be accessed via attachedToScreen