show
Error
Layout
fun MultiStateView.showErrorLayout( @DrawableRes drawableRes: Int? = null, title: String? = null, message: String? = null, btnRetry: Pair<String, () -> Unit>? = null)
Content copied to clipboard
Method to show error layout of MultiStateView
Parameters
drawableRes
drawable id of image to display
title
title of error
message
message of error
btnRetry
pair of button text and action when button clicked