chinwag-android/app/src/main/java/com/keylesspalace/tusky/util
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
..
ClickableSpanNoUnderline.kt fix RecentlyNonNull/Nullable warnings 2018-09-22 21:11:18 +02:00
CollectionUtil.java Upgrade to AndroidX, move to MaterialComponents theme (#953) 2018-12-17 15:25:35 +01:00
CountUpDownLatch.java Documents some utilities 2017-07-27 22:03:45 -04:00
CustomEmojiHelper.java Upgrade to AndroidX, move to MaterialComponents theme (#953) 2018-12-17 15:25:35 +01:00
CustomTabsHelper.java cleanup code, remove some unneeded files 2017-10-18 00:20:50 +02:00
CustomURLSpan.java UI Improvements (#445) 2017-11-30 20:12:09 +01:00
DateUtils.java Documents some utilities 2017-07-27 22:03:45 -04:00
DownsizeImageTask.java Enable sharing media directly from Tusky (#852) 2018-10-01 11:50:17 +02:00
Either.java Caching toots (#809) 2019-01-14 22:05:08 +01:00
Either.kt Caching toots (#809) 2019-01-14 22:05:08 +01:00
EmojiCompatFont.java Upgrade to AndroidX, move to MaterialComponents theme (#953) 2018-12-17 15:25:35 +01:00
FocalPointUtil.kt Set image previews correctly according to their focal points (#899) 2018-12-28 16:32:07 +01:00
HtmlUtils.java Reorganizes the whole codebase. 2017-05-04 18:55:35 -04:00
HttpHeaderLink.java Upgrade to AndroidX, move to MaterialComponents theme (#953) 2018-12-17 15:25:35 +01:00
IOUtils.java Upgrade to AndroidX, move to MaterialComponents theme (#953) 2018-12-17 15:25:35 +01:00
LinkHelper.java Upgrade to AndroidX, move to MaterialComponents theme (#953) 2018-12-17 15:25:35 +01:00
ListUtils.java Caching toots (#809) 2019-01-14 22:05:08 +01:00
MediaUtils.kt Upgrade to AndroidX, move to MaterialComponents theme (#953) 2018-12-17 15:25:35 +01:00
MentionTokenizer.kt Account for underscores when tokenizing mentions for autocompletion (#888) 2018-10-19 17:44:46 +02:00
NotificationHelper.java Upgrade to AndroidX, move to MaterialComponents theme (#953) 2018-12-17 15:25:35 +01:00
NotificationPullJobCreator.java Upgrade to AndroidX, move to MaterialComponents theme (#953) 2018-12-17 15:25:35 +01:00
OkHttpUtils.java Upgrade to AndroidX, move to MaterialComponents theme (#953) 2018-12-17 15:25:35 +01:00
PairedList.java Upgrade to AndroidX, move to MaterialComponents theme (#953) 2018-12-17 15:25:35 +01:00
Resource.kt add possibility to change profile fields, refactor (#751) 2018-08-15 20:47:09 +02:00
ResourcesUtils.java Upgrade to AndroidX, move to MaterialComponents theme (#953) 2018-12-17 15:25:35 +01:00
SaveTootHelper.java Upgrade to AndroidX, move to MaterialComponents theme (#953) 2018-12-17 15:25:35 +01:00
SharedPreferencesExtensions.kt New settings (#891) 2018-11-12 21:09:39 +01:00
SmartLengthInputFilter.java Add support for collapsible statuses when they exceed 500 characters (#825) 2018-09-19 19:51:20 +02:00
SpanUtils.kt Behave like Mastodon web ui and only count URLs as 23 characters when composing (#629) 2018-05-16 19:14:26 +02:00
StringUtils.java 1.8 fixes (#637) 2018-05-08 19:15:10 +02:00
ThemeUtils.java Upgrade to AndroidX, move to MaterialComponents theme (#953) 2018-12-17 15:25:35 +01:00
ViewDataUtils.java Upgrade to AndroidX, move to MaterialComponents theme (#953) 2018-12-17 15:25:35 +01:00
ViewExtensions.kt Show "remote profile" message. (#873) 2018-10-03 21:53:31 +02:00