Yuito-app-android/app/src/main/java/com/keylesspalace/tusky/components/notifications
Nik Clayton 81f725667e
Show better errors when loading notifications fails (#3448)
* Show better errors with notification loading fails

The errors are returned as a JSON object, parse it, and show the error
message it contains.

Handle the cases where there might be no error message, or the JSON may be
malformed.

Add tests.

Fixes #3445

* Lint
2023-03-18 10:25:41 +01:00
..
FollowViewHolder.kt update ktlint plugin to 11.3.1, format code (#3442) 2023-03-13 13:16:39 +01:00
NotificationFetcher.kt Cleanup dagger setup (#2300) 2022-01-23 20:24:55 +01:00
NotificationHelper.java Respect "Always expand posts marked with content warnings" pref in notifications (#3154) 2023-01-12 19:40:01 +01:00
NotificationWorker.kt add ktlint plugin to project and apply default code style (#2209) 2021-06-28 21:13:24 +02:00
NotificationsFragment.kt Support the mastodon 4 filter api (#3188) 2023-03-11 13:12:50 +01:00
NotificationsLoadStateAdapter.kt Convert NotificationsFragment and related code to Kotlin, use the Paging library (#3159) 2023-03-10 20:12:33 +01:00
NotificationsLoadStateViewHolder.kt Convert NotificationsFragment and related code to Kotlin, use the Paging library (#3159) 2023-03-10 20:12:33 +01:00
NotificationsPagingAdapter.kt Convert NotificationsFragment and related code to Kotlin, use the Paging library (#3159) 2023-03-10 20:12:33 +01:00
NotificationsPagingSource.kt Show better errors when loading notifications fails (#3448) 2023-03-18 10:25:41 +01:00
NotificationsRepository.kt Show better errors when loading notifications fails (#3448) 2023-03-18 10:25:41 +01:00
NotificationsViewModel.kt Remove Rx from EventHub and TimelineCases (#3446) 2023-03-18 10:11:47 +01:00
PushNotificationHelper.kt update ktlint plugin to 11.3.1, format code (#3442) 2023-03-13 13:16:39 +01:00
StatusNotificationViewHolder.kt Convert NotificationsFragment and related code to Kotlin, use the Paging library (#3159) 2023-03-10 20:12:33 +01:00
StatusViewHolder.kt Convert NotificationsFragment and related code to Kotlin, use the Paging library (#3159) 2023-03-10 20:12:33 +01:00