Commit Graph

120 Commits

Author SHA1 Message Date
ganfra
b5f40f9732 Add stetho in debug to allow some inspection 2019-02-19 17:40:38 +01:00
ganfra
24ffd96b6e Epoxy : finalize replacing KotlinModels 2019-02-19 15:47:50 +01:00
ganfra
c977c651a2 Epoxy : timeline messages to holder WIP 2019-02-19 11:57:17 +01:00
ganfra
5c78991ae1 Rx : hides subject inside a class 2019-02-19 11:16:31 +01:00
ganfra
c467f179e1 Epoxy : start using viewholder instead of kotlin model as it's more efficient 2019-02-19 10:31:05 +01:00
ganfra
5e81fc8dc2 Temporary workarounds to avoid some crashes. 2019-02-11 13:47:47 +01:00
manuroe
7a5ff282b6 Fix room list display on my account
following Ganfra's advices
2019-02-01 18:57:19 +01:00
ganfra
30bfada5d2 Merge branch 'feature/room_list' into develop 2019-01-31 12:15:43 +01:00
ganfra
020a2f3923 Room list : add some throttle to avoid refreshing too often. 2019-01-31 12:13:51 +01:00
ganfra
6c653287e1 Read receipts : fix read receipt being sent for dummyEvent + scroll appearing index 2019-01-31 11:45:11 +01:00
ganfra
6113bba703 Timeline : send read-receipt when scrolling. Still need to handle read marker. 2019-01-30 18:39:54 +01:00
ganfra
6df8809ee0 Room list : add quick ordering 2019-01-29 16:02:42 +01:00
ganfra
0e7596e0aa Room list : add basic notifications count on category item. Need to add business logic later. 2019-01-29 14:39:23 +01:00
ganfra
d3d536f4f0 Room : add RoomTag to handle favourites, low priority and system alerts in room list. 2019-01-29 14:16:22 +01:00
ganfra
b2e2c14e69 Room : start to handle read markers. Only used when you open the room at the moment. 2019-01-28 17:56:23 +01:00
ganfra
ad2abd5cdd Fix messages content info can be null 2019-01-25 18:40:02 +01:00
ganfra
9a42c121e4 Room list : show unread badge with room name. Still need to mark a room as read to update marker. 2019-01-25 18:04:08 +01:00
ganfra
c33e96b82c Add comments in API packages 2019-01-25 15:44:41 +01:00
ganfra
9dccad11fe Update copyright and add to last merged commits 2019-01-25 14:04:59 +01:00
ganfra
4c7a6dfe33 Merge branch 'feature/timeline_media' into develop 2019-01-25 12:36:01 +01:00
ganfra
3cbdba2fe9 Timeline media : compute max size from recyclerview size 2019-01-24 18:04:55 +01:00
ganfra
946ae32cd8 Let the app be compatible with android 16 2019-01-24 16:30:05 +01:00
ganfra
7c4ac7b53a Media : start to refact renderer to be more generic 2019-01-23 20:29:47 +01:00
ganfra
cc4c1cf308 Content : make content url resolution aware of homeserver url 2019-01-23 16:25:24 +01:00
ganfra
1d400180bc Timeline : start to handle media images/gif. Still a lot to do, but it's a first step. 2019-01-22 18:43:15 +01:00
ganfra
85608b04d1 Room list : quickly branch filter room name field 2019-01-21 19:39:45 +01:00
ganfra
32b29c47e7 Hot fix : makes room topic optional as it may be null. 2019-01-21 18:31:19 +01:00
ganfra
dbb812ad84 Message type : add data classes for all the types 2019-01-21 18:16:15 +01:00
ganfra
c7c3a57c93 Timeline hot fix: when room member is null, use sender to render name. Still have to figure it out why RoomMember can be null. 2019-01-18 19:40:20 +01:00
ganfra
57db4086cb Start adding javadoc on public api of the SDK and move some files. 2019-01-18 16:26:17 +01:00
ganfra
9914939045 Add copyright to source code 2019-01-18 11:12:08 +01:00
ganfra
2380499af2 Login : quickly add homeserver url field 2019-01-17 18:20:01 +01:00
ganfra
4a6b28aca1 Merge branch 'feature/timeline_events' into develop 2019-01-17 15:33:13 +01:00
ganfra
c20cbf7110 Androidx : set paging to 2.0.0 as it seems better at the moment 2019-01-17 15:04:57 +01:00
ganfra
ac2d20ad3f Migration androidx : first commit where it compiles. Updates some libs and android studio version in the same time. 2019-01-16 19:25:43 +01:00
ganfra
cb05d10824 Timeline : fix minor UI issues 2019-01-16 10:41:32 +01:00
ganfra
06dd3760c5 Timeline : start handling some state events display 2019-01-15 15:47:03 +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
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
1269715b5c Timeline : introduce timeline data class to allow listening for isLoadingForward and isLoadingBackward 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
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
7c0df91a58 Remove HomeViewModel and dispatch in multiple view models (one for each fragment) 2019-01-14 16:46:54 +01:00