Addons (#368)
* feat: (wip) torrent credit to kuukiyomi * fix: extensions -> addons * fix: unified loader * feat: (wip) modularity * fix: addon ui * feat: addon install/uninstall --------- Co-authored-by: aayush262 <aayushthakur262006@gmail.com>
This commit is contained in:
parent
3d1040b280
commit
670d16bd8e
66 changed files with 1923 additions and 427 deletions
|
@ -1,6 +1,5 @@
|
|||
package ani.dantotsu.settings
|
||||
|
||||
import android.view.ViewGroup
|
||||
import ani.dantotsu.databinding.ItemSettingsBinding
|
||||
import ani.dantotsu.databinding.ItemSettingsSwitchBinding
|
||||
|
||||
|
@ -13,6 +12,7 @@ data class Settings(
|
|||
val onLongClick: (() -> 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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue