create

abstract fun create(context: Context, scope: CoroutineScope): 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.