Commit graph

3990 commits

Author SHA1 Message Date
ganfra
e5fc1e3412 Introduce MvRx in the application + start managing UI 2018-10-28 19:18:14 +01:00
ganfra
d0a241bd2d Clean a bit code and reorganize files 2018-10-26 15:12:38 +02:00
ganfra
e942b54b56 Adding events to chunk is now faster by using query to check contains and no primary key 2018-10-26 12:48:56 +02:00
ganfra
7ba67d6c2b Deport timeline in his own class 2018-10-25 18:15:22 +02:00
ganfra
2faba01662 Room : load all room members on first room opening 2018-10-25 16:56:32 +02:00
ganfra
7ecbe09661 Handle read receipt saving (still need to find a way to improve insertion ) 2018-10-24 18:11:01 +02:00
ganfra
efceda1def Remove data handler instance 2018-10-23 18:49:00 +02:00
ganfra
88362edece Fix case where heroes is empty (fallback to display name of loaded members) 2018-10-23 18:31:33 +02:00
ganfra
f747d268c9 First attempt to handle room name + make app listen to room summaries instead of rooms 2018-10-23 18:25:28 +02:00
ganfra
279241974a Add a way to enrich event with useful data to be displayed. 2018-10-22 19:36:29 +02:00
ganfra
0f4d15e488 Makes back pagination work. Still need to refine but ok for proto. 2018-10-22 15:24:27 +02:00
ganfra
d71ae02162 Still WIP for Paging integration 2018-10-21 20:27:50 +02:00
ganfra
702abccb38 Continue to work on timeline/pagination. WIP 2018-10-19 20:34:54 +02:00
ganfra
6e3992e70e Fix some issues with sync (bad thread, bad use of last() ) 2018-10-19 17:18:24 +02:00
ganfra
ecbc64082f Use epoxy to render pagedList : WIP 2018-10-19 15:30:40 +02:00
ganfra
e323c858ab Fix compilation issue and rename method 2018-10-19 14:26:13 +02:00
ganfra
0041b6273e Start introducing PagedList management for timeline 2018-10-18 18:38:11 +02:00
ganfra
3f07ed9806 Trying monarchy to manage realm 2018-10-18 11:16:02 +02:00
ganfra
1646687e6d Clean some files 2018-10-17 19:12:39 +02:00
ganfra
00188fde29 Try to have some cleaner hierarchy 2018-10-17 18:21:09 +02:00
ganfra
0f4a62b7bf Remove persistence package for the moment 2018-10-17 15:35:26 +02:00
ganfra
e7f9bf86c6 Pause/Resume sync thread when app goes background/foreground 2018-10-17 15:20:26 +02:00
ganfra
d9f1d3fc85 Sync : save token 2018-10-17 14:46:36 +02:00
ganfra
44eb838610 Manage sync in an infinite thread 2018-10-17 13:59:21 +02:00
ganfra
4904ac894e Start to insert room summaries and listen for changes 2018-10-16 15:52:30 +02:00
ganfra
b79d23ad24 Migrate to realm + better insertion 2018-10-15 19:42:13 +02:00
ganfra
95fd7190e4 Better coroutines management 2018-10-13 11:18:49 +02:00
ganfra
1a967b6326 Sync : start insertion in DB 2018-10-12 19:26:22 +02:00
ganfra
9bef41a13b Start creating database model 2018-10-12 16:50:54 +02:00
ganfra
06456ae3e9 Translate some legacy SDK classes to kotlin 2018-10-11 21:32:23 +02:00
ganfra
11f860533c Start working with RoomState (trying approaches for content parsing) 2018-10-11 20:01:08 +02:00
ganfra
c7ce5c61b1 Clean some files 2018-10-11 17:35:15 +02:00
ganfra
5baaecaea4 Add basic session management to avoid login each time 2018-10-11 09:58:28 +02:00
ganfra
f9e6f4b533 Integration with old SDK - make it works 2018-10-11 09:05:32 +02:00
ganfra
108fae2f28 WIP integration with old SDK (not working) 2018-10-10 19:46:43 +02:00
ganfra
3215fa47d5 Import old SDK as legacy code to replace smoothly 2018-10-09 12:30:01 +02:00
ganfra
058f1704fa Make sync request works as initial sync 2018-10-08 17:52:45 +02:00
ganfra
a7eecdffae Start importing some classes from the developed SDK... + rename packages 2018-10-05 18:14:32 +02:00
ganfra
c4316d5055 Make the sdk targeting android to win time 2018-10-04 15:19:03 +02:00
ganfra
b406e8301a first commit 2018-10-03 17:58:12 +02:00