The second Android 11 Developer Preview is now available, test it out and share your feedback.

AndroidOwner

interface AndroidOwner : Owner
androidx.ui.core.AndroidOwner

Interface to be implemented by Owners able to handle Android Views as part of their hierarchy.

Summary

Public methods

abstract Unit
addAndroidView(view: View, layoutNode: LayoutNode)

Called to inform the owner that a new Android View was attached to the hierarchy.

abstract Unit

Called to inform the owner that an Android View was detached from the hierarchy.

Inherited functions

Inherited properties

Public methods

addAndroidView

abstract fun addAndroidView(
    view: View,
    layoutNode: LayoutNode
): Unit

Called to inform the owner that a new Android View was attached to the hierarchy.

removeAndroidView

abstract fun removeAndroidView(view: View): Unit

Called to inform the owner that an Android View was detached from the hierarchy.