SmoothCheckBox

open class SmoothCheckBox : View, Checkable

Constructors

SmoothCheckBox
Link copied to clipboard
open fun SmoothCheckBox(context: Context)
SmoothCheckBox
Link copied to clipboard
open fun SmoothCheckBox(context: Context, attrs: AttributeSet)
SmoothCheckBox
Link copied to clipboard
open fun SmoothCheckBox(context: Context, attrs: AttributeSet, defStyleAttr: Int)
SmoothCheckBox
Link copied to clipboard
open fun SmoothCheckBox(context: Context, attrs: AttributeSet, defStyleAttr: Int, defStyleRes: Int)

Types

OnCheckedChangeListener
Link copied to clipboard
interface OnCheckedChangeListener

Functions

dp2px
Link copied to clipboard
open fun dp2px(context: Context, dipValue: Float): Int
isChecked
Link copied to clipboard
open fun isChecked(): Boolean
setChecked
Link copied to clipboard
open fun setChecked(checked: Boolean)
open fun setChecked(checked: Boolean, animate: Boolean)
checked with animation
setOnCheckedChangeListener
Link copied to clipboard
toggle
Link copied to clipboard
open fun toggle()

Extensions

setCheckedBind
Link copied to clipboard
fun SmoothCheckBox.setCheckedBind(checked: Boolean)
fun SmoothCheckBox.setCheckedBind(checked: Any?)