Skip to content
This repository has been archived by the owner on Dec 2, 2022. It is now read-only.

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

License

Notifications You must be signed in to change notification settings

tachiyomiorg/conductor-support-preference

Repository files navigation

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.

About

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

Topics

Resources

License

Stars

Watchers

Forks

Languages