Constructor 링크 복사

KNCustomBottomMenuItem을 초기화합니다.

fun KNCustomBottomMenuItem( context: Context,
menuId: Int,
@DrawableRes icon: Int? = 0,
@DrawableRes icon_n: Int? = 0,
name: String,
type: KNCustomMenuStyle? = KNCustomMenuStyle.MENU_BUTTON_TOUCH,
toggleOn: Boolean? = false )

context
Context
menuId
사용자 맞춤 버튼 ID
icon
주간 아이콘 @DrawableResources
icon_n
야간 아이콘 @DrawableResources
name
표시될 이름
type
버튼 스타일(기본값: MENU_BUTTON_TOUCH)
toggle
버튼 스타일이 토글일 경우 상태값(기본값: false)