Yuito-app-android/app/src/main/java/com/keylesspalace/tusky/components
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
..
account Convert util/{HttpHeaderLink,PairedList,TimestampUtils,ThemeUtils} to Kotlin (#3046) 2022-12-31 13:01:35 +01:00
announcements respect "animate emojis" setting in emoji picker (#2996) 2022-12-05 19:15:28 +01:00
compose Convert util/{HttpHeaderLink,PairedList,TimestampUtils,ThemeUtils} to Kotlin (#3046) 2022-12-31 13:01:35 +01:00
conversation Status: Display indicators of edited posts (#2935) 2022-12-03 12:15:54 +01:00
drafts Add post editing capability (#2828) 2022-12-08 10:18:12 +01:00
followedtags Add view for browsing and unfollowing followed hashtags (#2794) 2022-12-01 19:24:27 +01:00
instanceinfo fix caching of instance defaults and emojis (#2643) 2022-08-07 22:18:53 +02:00
instancemute Fix toolbar for instance list activity. (#2248) 2021-09-28 19:55:30 +02:00
login revert CompatExtensions (#2773) 2022-11-09 19:32:54 +01:00
notifications Nullcheck channels when reading importance. (#2971) 2022-12-02 19:46:02 +01:00
preference Handle preference fragments using the framework (#3090) 2022-12-31 13:02:23 +01:00
report Convert util/{HttpHeaderLink,PairedList,TimestampUtils,ThemeUtils} to Kotlin (#3046) 2022-12-31 13:01:35 +01:00
scheduled Leave the "edit scheduled status" button enabled after clicking (#3100) 2022-12-30 12:09:42 +01:00
search Convert AccountViewHolder from Java to Kotlin (#3044) 2022-12-28 19:07:43 +01:00
timeline Add post editing capability (#2828) 2022-12-08 10:18:12 +01:00
viewthread Implement getFilters() without rxjava (#2990) 2022-12-07 19:30:53 +01:00