mount

open override fun mount(index: Int, mountItem: MountItem)


fun mount(index: Int, mountItem: MountItem, bounds: Rect)

Mounts the given MountItem with unique index.

Parameters

index

index of the MountItem. Guaranteed to be the same index as is passed for the corresponding unmount(index, mountItem) call.

mountItem

item to be mounted into the host.

bounds

the bounds of the item that is to be mounted into the host