Package com.
devbase.
presentation.
utilities
Defines utilities function used for presentation layer
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Method to show content layout of MultiStateView
Link copied to clipboard
fun MultiStateView.showEmptyLayout(@DrawableRes drawableRes: Int? = null, message: String? = null)
Content copied to clipboard
Method to show empty layout of MultiStateView
Link copied to clipboard
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
Link copied to clipboard
Method to show loading layout of MultiStateView
Link copied to clipboard
Method to start shimmer
Link copied to clipboard
Method to stop shimmer