class BottomMenuItemView : FrameLayout
BottomMenuItemView is an bottom menu item view with badges and selected/unselected animations. Composed to title, icon, and badge.
<init> |
BottomMenuItemView is an bottom menu item view with badges and selected/unselected animations. Composed to title, icon, and badge. BottomMenuItemView(context: Context, attrs: AttributeSet? = null) |
config |
var config: BottomMenuItemViewConfig? |
onMenuItemClickListener |
var onMenuItemClickListener: (config: BottomMenuItemViewConfig?, view: BottomMenuItemView) -> Unit? |
dismissBadge |
dismisses the badge. fun dismissBadge(): <ERROR CLASS> |
onSizeChanged |
fun onSizeChanged(w: Int, h: Int, oldw: Int, oldh: Int): Unit |
selectedBottomBarItem |
updates and animates for a selected bottom bar item. fun selectedBottomBarItem(): Unit |
showBadge |
shows the badge with a changed text and appearing animation. fun showBadge(badgeText: CharSequence?): Unit |
unselectedBottomBarItem |
updates and animates for an unselected bottom bar item. fun unselectedBottomBarItem(): Unit |