snackprogressbar

lib / com.tingyik90.snackprogressbar / SnackProgressBar / setIconResource

setIconResource

fun setIconResource(@DrawableRes iconResId: Int): SnackProgressBar

Sets the icon of SnackProgressBar. Only a bitmap or a resId can be specified at any one time.

Parameters

iconResId - The resource identifier of the icon to be displayed.

Return This SnackProgressBar.