Ivan Kupalov
3756a1fd20
Add EventHub, add fav, reblog events, improve timelines ( #562 )
...
* Add AppStore, add fav, reblog events
* Add events, add handling to Timeline
* Add event handling to Notifications
* Mostly finish events
* Fix unsubscribing
* Cleanup timeline
* Fix newStatusEvent in thread, fix deleteEvent
* Insert new toots only in specific timelines
* Add missing else
* Rename AppStore to EventHub
* Fix tests
* Use DiffUtils for timeline
* Fix empty timeline bug. Improve loading placeholder
* Fix AsyncListDiff, loading indicator, "load more"
* Timeline fixes & improvements.
Fix infinite loading. Remove spinner correctly.
Don't refresh timeline without need.
2018-05-27 11:22:12 +03:00
Conny Duck
7cc1ed9844
fix problem with spark buttons behaving weirdly
2017-12-01 22:13:47 +01:00
charlag
74d6736afc
Make status placeholder abstraction cleaner
2017-11-07 12:44:19 +01:00
Conny Duck
80a10c1ac1
implement "load more" placeholder
2017-11-04 21:57:30 +01:00
Vavassor
fc1a24be11
Resolves merge conflicts and makes NotificationAdapter no longer implement AdapterItemRemover
2017-07-13 21:31:31 -04:00
Vavassor
5754a3a177
Fixes bug where the order of notifications could be jumbled when removing duplicates using a HashSet.
2017-07-13 20:17:50 -04:00
Ivan Kupalov
90c1a83ba4
Preserve status states on updates. UI layer refactoring.
...
Some things were pulled out of adapters to fragments. New classes were introduced - StatusViewData and NotificationViewData. They not only have view state in them but also help decoupling.
Because introducing parallel model list requires a lot of synchronisation PairedList was added.
Also synchronisation between fragments and adapters is quiet tedious and error-prone and should be replaces with better solution.
Oh, I also couldn’t resist and fixed bug with buttons animation in the same commit.
2017-07-13 22:18:08 +03:00
Vavassor
afa21f5a5c
Makes end of list footers have zero height.
2017-07-01 23:23:42 -04:00
Vavassor
6b0ae5be95
Fixes the same typo in 3 places.
2017-06-30 19:49:10 -04:00
Vavassor
275cd51a6d
Adds correct footer behaviour to account lists and unifies it with how timelines use them.
2017-06-30 18:30:25 -04:00
Vavassor
3955649b9c
Moves loading of accounts, notifications, and statuses to use link headers. Also remedies an issue where duplicate calls for the same chunk of items in a list can occur.
2017-06-30 02:31:58 -04:00
Vavassor
3f54ead962
Adds option to hide media previews if reduced data usage is desired Closes #56 .
2017-06-26 05:15:47 -04:00
Vavassor
9c56f0e7bc
Broadcasts now used everywhere for signalling to remove accounts' posts instead of listeners.
2017-06-06 17:15:29 -04:00
Vavassor
66bac21236
fixes merge conflicts
2017-05-11 18:58:38 -04:00
Vavassor
aa2394748c
Reorganizes the whole codebase.
2017-05-04 18:55:35 -04:00