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 IntArray
onCreateDrawableState(Integer extraSpace)
Boolean
isChecked()
Unit
setChecked(Boolean checked)
Unit
toggle()
Parcelable
onSaveInstanceState()
Unit
onRestoreInstanceState(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)
-
-
-
-