Library to create preference screens using Conductor controllers instead of fragments.
|
hace 2 años | |
---|---|---|
gradle | hace 2 años | |
preference | hace 2 años | |
.gitignore | hace 6 años | |
.jitpack.yml | hace 3 años | |
LICENSE | hace 4 años | |
README.md | hace 2 años | |
build.gradle | hace 2 años | |
gradle.properties | hace 4 años | |
gradlew | hace 2 años | |
gradlew.bat | hace 2 años | |
settings.gradle | hace 7 años |
Library to create preference screens using Conductor controllers instead of fragments.
You can include this library in your project with JitPack.
repositories {
maven { url = "https://www.jitpack.io" }
}
dependencies {
implementation 'com.github.tachiyomiorg:conductor-support-preference:3.1.8'
}
Create a class that inherits from PreferenceController
and include your preferences in the onCreatePreferences
method,
either by inflating an xml with addPreferencesFromResource
or manually creating them, though you will need to provide
a ContextThemeWrapper
if you use the latter and want to have a material theme.
Finally, use Router::pushController
to show your preference controller.