chore: cleanup pt2
This commit is contained in:
parent
24147e746a
commit
70a50ece43
52 changed files with 501 additions and 294 deletions
|
@ -5,15 +5,15 @@ import ani.dantotsu.databinding.ItemSettingsSwitchBinding
|
|||
|
||||
data class Settings(
|
||||
val type: Int,
|
||||
val name : String,
|
||||
val name: String,
|
||||
val desc: String,
|
||||
val icon : Int,
|
||||
val icon: Int,
|
||||
val onClick: ((ItemSettingsBinding) -> Unit)? = null,
|
||||
val onLongClick: (() -> Unit)? = null,
|
||||
val switch: ((isChecked:Boolean , view: ItemSettingsSwitchBinding ) -> Unit)? = null,
|
||||
val attach:((ItemSettingsBinding) -> Unit)? = null,
|
||||
val attachToSwitch : ((ItemSettingsSwitchBinding) -> Unit)? = null,
|
||||
val switch: ((isChecked: Boolean, view: ItemSettingsSwitchBinding) -> Unit)? = null,
|
||||
val attach: ((ItemSettingsBinding) -> Unit)? = null,
|
||||
val attachToSwitch: ((ItemSettingsSwitchBinding) -> Unit)? = null,
|
||||
val isVisible: Boolean = true,
|
||||
val isActivity: Boolean = false,
|
||||
var isChecked : Boolean = false,
|
||||
var isChecked: Boolean = false,
|
||||
)
|
Loading…
Add table
Add a link
Reference in a new issue