busky/app
Nik Clayton 2e72fa0dfc
Handle preference fragments using the framework (#3090)
* Handle preference fragments using the framework

The previous code started new preference "screens" as activities, even though
each one hosted a single fragment.

Modify this to use the framework's support for swapping in/out different
preference fragments.

PreferencesActivity:
- Remove the code for launching tab and proxy preferences
- Remove the code for setting titles, each fragment is responsible for that
- Implement OnPreferenceStartFragmentCallback to swap fragments in/out with
  the correct animation

PreferencesFragment:
- Use `fragment` property instead of `setOnPreferenceClickListener`
- Set the activity title when resuming

Everything else:
- Set the activity title when resuming

* Lint

* Use the commit extension function
2022-12-31 13:02:23 +01:00
..
schemas/com.keylesspalace.tusky.db.AppDatabase add 46.json (#3116) 2022-12-29 19:29:33 +01:00
src Handle preference fragments using the framework (#3090) 2022-12-31 13:02:23 +01:00
.gitignore
build.gradle replace Manifest package with Gradle namespace (#3007) 2022-12-06 20:32:26 +01:00
proguard-rules.pro add shrinker rules to keep bouncycastle EC classes (#2542) 2022-05-19 07:19:16 +02:00