openWindowContainer

fun Context.openWindowContainer(id: String, tag: String? = null, bundle: Bundle? = null)

Opens a WindowContainer by id and optional tag.

This method is open for android platform. And SpatialNavigator.openWindowContainer is recommended to use in SpatialUI DSL.

Parameters

id

WindowContainer id

tag

When null, a new window instance is always created. When non-null, an opened window container with the same id and tag is reused. When you provide a new tag, a new window instance is always created.

bundle

Customized data to deliver to window container content, or null when no data is needed.