Library to create preference screens using Conductor controllers instead of fragments.
This repository has been archived on 2024-01-16. You can view files and clone it, but cannot push or open issues or pull requests.
Go to file
arkon f9de5b9856 Bump dependencies 2022-11-09 09:31:20 -05:00
gradle/wrapper Bump dependencies 2022-11-09 09:31:20 -05:00
preference Bump dependencies 2022-11-09 09:31:20 -05:00
.gitignore compatibility maintenance (#3) 2019-02-08 10:37:15 +01:00
.jitpack.yml Bump to Conductor 3.1.1 2021-11-19 13:58:17 -05:00
LICENSE Create LICENSE 2020-08-29 11:01:17 -04:00
README.md Bump dependencies 2022-11-09 09:31:20 -05:00
build.gradle Bump dependencies 2022-11-09 09:31:20 -05:00
gradle.properties Update Gradle, AGP, SDK versions, build tools, and AndroidX Preferences 2020-06-06 12:21:10 -04:00
gradlew Bump dependencies 2022-07-31 11:27:51 -04:00
gradlew.bat Bump dependencies 2022-07-31 11:27:51 -04:00
settings.gradle Initial commit 2017-04-27 22:24:22 +02:00

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.