Commit Graph

259 Commits

Author SHA1 Message Date
ganfra
06dd3760c5 Timeline : start handling some state events display 2019-01-15 15:47:03 +01:00
ganfra
5e89627867 Merge branch 'feature/navigation' into develop 2019-01-14 16:46:54 +01:00
ganfra
0b539043b9 Timeline : adjust message text size 2019-01-14 16:46:54 +01:00
ganfra
b2cdeb87f4 Fix some timeline issues and rename EnrichedEvent to TimelineEvent as it's only used in this context. 2019-01-14 16:46:54 +01:00
ganfra
34e08705dd Timeline : still trying to adjust PagedList options 2019-01-14 16:46:54 +01:00
ganfra
acf2301fc9 Use RxRelay instead of Subjects 2019-01-14 16:46:54 +01:00
ganfra
d7de986365 Timeline : try using initialLoadKey to open PagedList around an event. Still need to scroll to the item. 2019-01-14 16:46:54 +01:00
ganfra
02254d5d31 Timeline : re-add hasReachedEnd condition to get a better display 2019-01-14 16:46:54 +01:00
ganfra
2b66b4c4b7 Add a HomeActivityViewModel, VisibleRoomHandler and Event classes to handle some navigation. Not perfect but ok for now 2019-01-14 16:46:54 +01:00
ganfra
922609cb57 Timeline : try to get a better PagedList/Epoxy integration. Still need to be refined. 2019-01-14 16:46:54 +01:00
ganfra
de90cbe73e Timeline : fix merging issues 2019-01-14 16:46:54 +01:00
ganfra
1269715b5c Timeline : introduce timeline data class to allow listening for isLoadingForward and isLoadingBackward 2019-01-14 16:46:54 +01:00
ganfra
f5d64a5707 RoomSummary : clean some old code 2019-01-14 16:46:54 +01:00
ganfra
7669a94a64 Introduce retry on task executor and use it for pagination 2019-01-14 16:46:54 +01:00
ganfra
d288fb7c9c Timeline : improve scrolling performances 2019-01-14 16:46:54 +01:00
ganfra
281c25e66d Add to backstack when navigating from permalink in room details #2 2019-01-14 16:46:54 +01:00
ganfra
14fc75a5f3 Add to backstack when navigating from permalink in room details 2019-01-14 16:46:54 +01:00
ganfra
84645c17c8 Makes tests compile 2019-01-14 16:46:54 +01:00
ganfra
e9737dff75 Add roomId to EventEntity as it makes queries a lot faster and fixes performance issues. 2019-01-14 16:46:54 +01:00
ganfra
51000c4711 Re-add opening detail when opening app 2019-01-14 16:46:54 +01:00
ganfra
fd06606c45 Room : load room members is totally off the main thread now 2019-01-14 16:46:54 +01:00
ganfra
7c0df91a58 Remove HomeViewModel and dispatch in multiple view models (one for each fragment) 2019-01-14 16:46:54 +01:00
ganfra
7f11c141c7 Use MvRx in room detail 2019-01-14 16:46:54 +01:00
ganfra
5a75e3db81 Clean some of the session code API 2019-01-14 16:46:54 +01:00
ganfra
b696e4a6de Navigation : add simple fragment backstack management. 2019-01-14 16:46:54 +01:00
ganfra
c42be8141e Iterate on navigation... We have to think about backstack, maybe using a finite state machine. WIP 2019-01-14 16:46:54 +01:00
ganfra
337fd075dd Start thinking about navigation. WIP 2019-01-14 16:46:54 +01:00
ganfra
aec620fb50 Move some files 2018-12-20 16:27:59 +01:00
ganfra
3713e71c8e Refactor Matrix instance creation (using ContentProvider) + isolate Koin in matrix 2018-12-20 15:44:01 +01:00
ganfra
43dee60b92 Permalink parser should only look for fragment part 2018-12-20 14:13:23 +01:00
ganfra
9b8800ec55 Permalinks : add a parser to get data from permalink (userId, eventId...) 2018-12-19 19:08:30 +01:00
ganfra
fdd4642cbb Use addLinks method on message. Next step is to proceed the url to navigate. 2018-12-19 11:50:44 +01:00
ganfra
58f60eaab4 Start importing permalink classes from old SDK/Riot 2018-12-18 18:43:37 +01:00
ganfra
39ad44e9aa Refactor a bit EnrichedEvent and Content. Metadata will only be used for unexpected data. 2018-12-18 14:46:20 +01:00
ganfra
de4281c954 Clean some dependencies 2018-12-17 23:03:09 +01:00
ganfra
21c7cf2498 Add splash screen faking toolbar 2018-12-17 18:55:15 +01:00
ganfra
4656429d83 Introduce a localId for event, to avoid blink effect when sending 2018-12-17 18:25:02 +01:00
ganfra
0f667fe6e8 Introduce ContentMapper, allowing to map a content directly without going through an event entity. 2018-12-17 18:24:01 +01:00
ganfra
d9e24558ec Makes task configurable to allow choosing threads 2018-12-17 16:42:22 +01:00
ganfra
765a34bcf4 Update name to Riot X 2018-12-14 19:32:32 +01:00
ganfra
faa68f4d52 Start testing timeline. Not working at the moment, have to figure it out. 2018-12-14 19:23:49 +01:00
ganfra
9af466c24b Home : open detail only when drawer is closed 2018-12-14 19:22:55 +01:00
ganfra
5cc128cbf3 Introduce Task interface and TaskExecutor to centralize task processing and easier testing (replace Request naming) 2018-12-14 19:22:39 +01:00
ganfra
168814149b Update some dependencies 2018-12-13 11:00:50 +01:00
ganfra
14d807232f Finally remove legacy package and clean some files. 2018-12-12 21:54:14 +01:00
ganfra
c8c31172b3 Try to configure okreplay for testing network + start to rework koin modules 2018-12-12 21:15:01 +01:00
ganfra
1d5587c5ba Clean forgotten code 2018-12-12 11:51:29 +01:00
ganfra
17dcbc1cd6 Remove RequestExecutor as name is confusing at the moment. 2018-12-11 18:13:22 +01:00
ganfra
43a462f9cc Merge branch 'feature/permalink' into develop 2018-12-11 16:55:45 +01:00
ganfra
6ee272c376 Chunk : add some tests on merge 2018-12-11 16:39:44 +01:00