Tusky-App-Android/app/src/main/java/com/keylesspalace/tusky/components/conversation
Konrad Pozniak b2c0b18c8e
Refactor notifications to Kotlin & paging (#4026)
This refactors the NotificationsFragment and related classes to Kotlin &
paging.
While trying to preserve as much of the original behavior as possible,
this adds the following improvements as well:
- The "show notifications filter" preference was added again
- The "load more" button now has a background ripple effect when clicked
- The "legal" report category of Mastodon 4.2 is now supported in report
notifications
- Unknown notifications now display "unknown notification type" instead
of an empty line

Other code quality improvements:
- All views from xml layouts are now referenced via ViewBindings
- the classes responsible for showing system notifications were moved to
a new package `systemnotifications` while the classes from this
refactoring are in `notifications`
- the id of the local Tusky account is now called `tuskyAccountId` in
all places I could find

closes https://github.com/tuskyapp/Tusky/issues/3429

---------

Co-authored-by: Zongle Wang <wangzongler@gmail.com>
2024-05-03 18:27:10 +02:00
..
ConversationAdapter.kt upgrade ktlint plugin to 12.0.3 (#4169) 2024-01-04 17:00:55 +01:00
ConversationEntity.kt Refactor notifications to Kotlin & paging (#4026) 2024-05-03 18:27:10 +02:00
ConversationLoadStateAdapter.kt upgrade ktlint plugin to 12.0.3 (#4169) 2024-01-04 17:00:55 +01:00
ConversationViewData.kt Replace Gson library with Moshi (#4309) 2024-04-02 21:01:04 +02:00
ConversationViewHolder.java update minSdk to 24, cleanup code (#4014) 2023-09-12 19:25:45 +02:00
ConversationsFragment.kt Replace Gson library with Moshi (#4309) 2024-04-02 21:01:04 +02:00
ConversationsRemoteMediator.kt upgrade ktlint plugin to 12.0.3 (#4169) 2024-01-04 17:00:55 +01:00
ConversationsViewModel.kt Replace Gson library with Moshi (#4309) 2024-04-02 21:01:04 +02:00