setEmptyStateView

fun setEmptyStateView(view: View, layoutParams: FrameLayout.LayoutParams = defaultChildLayoutParams)

Sets the view to be displayed when the message list is empty.

Parameters

view

Will be added to the view hierarchy of MessageListView and managed by it. The view should not be added to another ViewGroup instance elsewhere.

layoutParams

Defines how the view will be situated inside its container ViewGroup.