chinwag-android/app
Nik Clayton aa96d02923
Implement HTTP proxy summary as a SummaryProvider (#3091)
* 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

* Implement HTTP proxy summary as a SummaryProvider

Uses the frameworks's support for setting summaries instead of rolling our
own.

Also fix a tiny bug -- the minimum port number to connect to should be 1,
not 0.

* Lint
2023-01-13 19:28:46 +01:00
..
schemas/com.keylesspalace.tusky.db.AppDatabase add 46.json (#3116) 2022-12-29 19:29:33 +01:00
src Implement HTTP proxy summary as a SummaryProvider (#3091) 2023-01-13 19:28:46 +01:00
.gitignore Adds a forgotten keystore. 2017-06-02 04:47:22 -04:00
build.gradle Remove old opt-in for RequiresOptIn (#3167) 2023-01-12 19:41:35 +01:00
proguard-rules.pro add shrinker rules to keep bouncycastle EC classes (#2542) 2022-05-19 07:19:16 +02:00