Yuito-app-android/app/src/main/java/com/keylesspalace/tusky/entity
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
..
AccessToken.kt convert entity classes to Kotlin data classes (#526) 2018-03-03 13:24:03 +01:00
Account.kt add checkmark to verified links and better constraints to account fields (#922) 2018-12-03 11:02:28 +01:00
AppCredentials.kt convert entity classes to Kotlin data classes (#526) 2018-03-03 13:24:03 +01:00
Attachment.kt Set image previews correctly according to their focal points (#899) 2018-12-28 16:32:07 +01:00
Card.kt convert entity classes to Kotlin data classes (#526) 2018-03-03 13:24:03 +01:00
Emoji.kt Filter emoji where "visible_in_picker" is set to false. (#907) 2018-11-04 10:51:31 +01:00
Instance.kt 1.8 fixes (#637) 2018-05-08 19:15:10 +02:00
MastoList.kt Add basic lists support (#501) 2018-01-06 19:01:37 +01:00
Notification.kt convert entity classes to Kotlin data classes (#526) 2018-03-03 13:24:03 +01:00
Relationship.kt Account activity redesign (#662) 2018-06-18 13:26:18 +02:00
SearchResults.kt convert entity classes to Kotlin data classes (#526) 2018-03-03 13:24:03 +01:00
Status.kt Caching toots (#809) 2019-01-14 22:05:08 +01:00
StatusContext.kt convert entity classes to Kotlin data classes (#526) 2018-03-03 13:24:03 +01:00