Package-level declarations

Types

Link copied to clipboard
class TtEmptyStateView @JvmOverloads constructor(context: Context, attrs: AttributeSet? = null, defStyleAttr: Int = ID_NULL) : ConstraintLayout

This view can be shown as a placeholder when the intended content can't be shown. For example, a fragment may show online content. When the fragment's content cannot be shown due to, for example, a connection issue, this view can be shown instead.

Link copied to clipboard
data class TtEmptyStateViewModel(val image: DrawableResolver? = null, val headerText: StringResolver? = null, val bodyText: StringResolver? = null, val primaryButtonViewModel: TtButtonViewModel? = null, val secondaryButtonViewModel: TtButtonViewModel? = null)

A view model for TtEmptyStateView. This view model can be applied via TtEmptyStateView's ttViewModel XML property, or the extension method TtEmptyStateView.setViewModel.

Functions

Link copied to clipboard