tripkit-android / com.skedgo.tripkit.ui.views / CheckableImageButton

CheckableImageButton

open class CheckableImageButton : AppCompatImageButton, Checkable

Constructors

Name Summary
<init> CheckableImageButton(context: Context!)
CheckableImageButton(context: Context!, attrs: AttributeSet!)
CheckableImageButton(context: Context!, attrs: AttributeSet!, defStyleAttr:Int)

Functions

Name Summary
isCheckable Returns whether the image button is checkable.open fun isCheckable():Boolean
isChecked open fun isChecked():Boolean
onCreateDrawableState open fun onCreateDrawableState(extraSpace:Int):IntArray!
onRestoreInstanceState open fun onRestoreInstanceState(state: Parcelable!):Unit
onSaveInstanceState open fun onSaveInstanceState(): Parcelable
setCheckable Sets image button to be checkable or not.open fun setCheckable(checkable:Boolean):Unit
setChecked open fun setChecked(checked:Boolean):Unit
toggle open fun toggle():Unit