Package io.scanbot.sdk.ui.utils
Class CheckableImageButton
-
- All Implemented Interfaces:
-
android.widget.Checkable
public final class CheckableImageButton extends TintableImageButton implements Checkable
ImageButton that supports checkable state
-
-
Constructor Summary
Constructors Constructor Description CheckableImageButton(Context context, AttributeSet attrs)
-
Method Summary
Modifier and Type Method Description IntArrayonCreateDrawableState(Integer extraSpace)BooleanisChecked()UnitsetChecked(Boolean checked)Unittoggle()ParcelableonSaveInstanceState()UnitonRestoreInstanceState(Parcelable state)-
-
Constructor Detail
-
CheckableImageButton
CheckableImageButton(Context context, AttributeSet attrs)
-
-
Method Detail
-
onCreateDrawableState
IntArray onCreateDrawableState(Integer extraSpace)
-
setChecked
Unit setChecked(Boolean checked)
-
onSaveInstanceState
Parcelable onSaveInstanceState()
-
onRestoreInstanceState
Unit onRestoreInstanceState(Parcelable state)
-
-
-
-