create

abstract fun create(context: Context, scope: CoroutineScope, browserMode: BrowserMode): NativeInputChatTabItem

Create a fresh item bound to one Chat-tab presentation.

Parameters

context

a view context suitable for inflating the item's views.

scope

cancelled by the host when the Chat tab is torn down. Use it to collect data into the returned adapters; do not retain it beyond the returned NativeInputChatTabItem.

browserMode

the hosting activity's frozen browser mode, for contributions whose eligibility is mode-dependent.