Yuito-app-android/app/src/main/java/com/keylesspalace/tusky
Ivan Kupalov 3ab78a19bc Caching toots (#809)
* Initial timeline cache implementation

* Fix build/DI errors for caching

* Rename timeline entities tables. Add migration. Add DB scheme file.

* Fix uniqueness problem, change offline strategy, improve mapping

* Try to merge in new statuses, fix bottom loading, fix saving spans.

* Fix reblogs IDs, fix inserting elements from top

* Send one more request to get latest timeline statuses

* Give Timeline placeholders string id. Rewrite Either in Kotlin

* Initial placeholder implementation for caching

* Fix crash on removing overlap statuses

* Migrate counters to long

* Remove unused counters. Add minimal TimelineDAOTest

* Fix bug with placeholder ID

* Update cache in response to events. Refactor TimelineCases

* Fix crash, reduce number of placeholders

* Fix crash, fix filtering, improve placeholder handling

* Fix migration, add 8-9 migration test

* Fix initial timeline update, remove more placeholders

* Add cleanup for old statuses

* Fix cleanup

* Delete ExampleInstrumentedTest

* Improve timeline UX regarding caching

* Fix typos

* Fix initial timeline update

* Cleanup/fix initial timeline update

* Workaround for weird behavior of first post on initial tl update.

* Change counter types back to int

* Clear timeline cache on logout

* Fix loading when timeline is completely empty

* Fix androidx migration issues

* Fix tests

* Apply caching feedback

* Save account emojis to cache

* Fix warnings and bugs
2019-01-14 22:05:08 +01:00
..
adapter fix long toots not collapsing correctly in timelines (#976) 2019-01-11 20:05:15 +01:00
appstore Caching toots (#809) 2019-01-14 22:05:08 +01:00
db Caching toots (#809) 2019-01-14 22:05:08 +01:00
di Caching toots (#809) 2019-01-14 22:05:08 +01:00
entity Caching toots (#809) 2019-01-14 22:05:08 +01:00
fragment Caching toots (#809) 2019-01-14 22:05:08 +01:00
interfaces add the ability to see who faved or boosted a toot (#962) 2018-12-27 09:48:24 +01:00
json remove old emoji shortcodes 2017-10-19 15:54:08 +02:00
network Caching toots (#809) 2019-01-14 22:05:08 +01:00
pager Upgrade to AndroidX, move to MaterialComponents theme (#953) 2018-12-17 15:25:35 +01:00
receiver Fix typo (#987) 2019-01-14 21:57:22 +01:00
repository Caching toots (#809) 2019-01-14 22:05:08 +01:00
service Upgrade to AndroidX, move to MaterialComponents theme (#953) 2018-12-17 15:25:35 +01:00
util Caching toots (#809) 2019-01-14 22:05:08 +01:00
view Caching toots (#809) 2019-01-14 22:05:08 +01:00
viewdata Caching toots (#809) 2019-01-14 22:05:08 +01:00
viewmodel Upgrade to AndroidX, move to MaterialComponents theme (#953) 2018-12-17 15:25:35 +01:00
AboutActivity.kt Upgrade to AndroidX, move to MaterialComponents theme (#953) 2018-12-17 15:25:35 +01:00
AccountActivity.kt add the ability to see who faved or boosted a toot (#962) 2018-12-27 09:48:24 +01:00
AccountListActivity.kt add the ability to see who faved or boosted a toot (#962) 2018-12-27 09:48:24 +01:00
BaseActivity.java Upgrade to AndroidX, move to MaterialComponents theme (#953) 2018-12-17 15:25:35 +01:00
BottomSheetActivity.kt Upgrade to AndroidX, move to MaterialComponents theme (#953) 2018-12-17 15:25:35 +01:00
ComposeActivity.java Fix typo (#987) 2019-01-14 21:57:22 +01:00
EditProfileActivity.kt Upgrade to AndroidX, move to MaterialComponents theme (#953) 2018-12-17 15:25:35 +01:00
EmojiPreference.java Upgrade to AndroidX, move to MaterialComponents theme (#953) 2018-12-17 15:25:35 +01:00
FavouritesActivity.java Upgrade to AndroidX, move to MaterialComponents theme (#953) 2018-12-17 15:25:35 +01:00
LicenseActivity.kt Upgrade to AndroidX, move to MaterialComponents theme (#953) 2018-12-17 15:25:35 +01:00
ListsActivity.kt Upgrade to AndroidX, move to MaterialComponents theme (#953) 2018-12-17 15:25:35 +01:00
LoginActivity.kt improve dialog styling 2018-12-17 20:47:42 +01:00
MainActivity.java Caching toots (#809) 2019-01-14 22:05:08 +01:00
ModalTimelineActivity.kt Upgrade to AndroidX, move to MaterialComponents theme (#953) 2018-12-17 15:25:35 +01:00
PreferencesActivity.kt Upgrade to AndroidX, move to MaterialComponents theme (#953) 2018-12-17 15:25:35 +01:00
ReportActivity.java Upgrade to AndroidX, move to MaterialComponents theme (#953) 2018-12-17 15:25:35 +01:00
SavedTootActivity.java Fix typo (#987) 2019-01-14 21:57:22 +01:00
SearchActivity.java Upgrade to AndroidX, move to MaterialComponents theme (#953) 2018-12-17 15:25:35 +01:00
SplashActivity.kt Upgrade to AndroidX, move to MaterialComponents theme (#953) 2018-12-17 15:25:35 +01:00
TuskyApplication.java Caching toots (#809) 2019-01-14 22:05:08 +01:00
ViewMediaActivity.kt Upgrade to AndroidX, move to MaterialComponents theme (#953) 2018-12-17 15:25:35 +01:00
ViewTagActivity.java Upgrade to AndroidX, move to MaterialComponents theme (#953) 2018-12-17 15:25:35 +01:00
ViewThreadActivity.java Upgrade to AndroidX, move to MaterialComponents theme (#953) 2018-12-17 15:25:35 +01:00