Library to create preference screens using Conductor controllers instead of fragments.

arkon f9de5b9856 Bump dependencies 2 роки тому
gradle f9de5b9856 Bump dependencies 2 роки тому
preference f9de5b9856 Bump dependencies 2 роки тому
.gitignore 9a19372dac compatibility maintenance (#3) 6 роки тому
.jitpack.yml 52fa796328 Bump to Conductor 3.1.1 3 роки тому
LICENSE d6f7d969b8 Create LICENSE 4 роки тому
README.md f9de5b9856 Bump dependencies 2 роки тому
build.gradle f9de5b9856 Bump dependencies 2 роки тому
gradle.properties 044c4ab60c Update Gradle, AGP, SDK versions, build tools, and AndroidX Preferences 4 роки тому
gradlew cd32a34f2d Bump dependencies 2 роки тому
gradlew.bat cd32a34f2d Bump dependencies 2 роки тому
settings.gradle a1e4b21254 Initial commit 7 роки тому

README.md

Library to create preference screens using Conductor controllers instead of fragments.

Including the library

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'
}

Usage

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.