Commit Graph

140 Commits

Author SHA1 Message Date
Moez Bhatti f08ae5010f Clean up method for loading contact from db 2017-10-31 15:55:33 -07:00
Moez Bhatti e0c360245d Make contact retrieval by recipientId async 2017-10-31 15:47:48 -07:00
Moez Bhatti 5a865962cd Use custom ViewModelFactory for all ViewModels 2017-10-31 13:40:38 -07:00
Moez Bhatti f2088d73c1 Use View to expose Intents instead of performing logic inside of Activity 2017-10-31 11:50:11 -07:00
Moez Bhatti eee5b45dd5 Create Navigator to allow custom ViewModel constructors 2017-10-31 11:20:59 -07:00
Moez Bhatti a43ce96719 Create QkViewModel, remove need for PartialState objects 2017-10-31 01:05:52 -07:00
Moez Bhatti 64035e85e9 Make callback optional for Interactors 2017-10-31 00:35:03 -07:00
Moez Bhatti f5212cad43 Eliminate need for explicitly creating ViewHolder 2017-10-05 01:02:46 -04:00
Moez Bhatti 08c5265050 Set up UI and click events for Drawer 2017-10-02 17:25:09 -04:00
Moez Bhatti 9c84878472 Create empty drawer layout 2017-10-02 13:37:59 -04:00
Moez Bhatti 6053c8e82d Move logic for marking message sent into repo 2017-10-02 13:15:23 -04:00
Moez Bhatti e09188cd7d Handle marking message failed/delivered in MessageRepository 2017-10-02 11:47:21 -04:00
Moez Bhatti b18027962a Create Mapper for Conversation -> Flowable<Conversation> and Interactor for syncing conversations 2017-10-02 11:10:25 -04:00
Moez Bhatti 62cde39fc9 Create mapper for Message -> MessageFlowable 2017-10-02 10:43:46 -04:00
Moez Bhatti c949a68cf5 Refactor Interactor Observable creator method 2017-10-01 22:03:35 -04:00
Moez Bhatti bc15464ba5 Create interactor for marking conversation read 2017-10-01 21:14:23 -04:00
Moez Bhatti 9ce6f8bc53 Remove redundant datastore classes 2017-10-01 21:05:20 -04:00
Moez Bhatti 4e90724d66 Move MarkSeen implementation to Interactors 2017-10-01 20:59:18 -04:00
Moez Bhatti 41aea8c618 Move message sending code into SendMessage.kt 2017-10-01 20:08:39 -04:00
Moez Bhatti 81a93a53e1 Create interactors for MarkSent and MarkFailed 2017-10-01 19:06:20 -04:00
Moez Bhatti 4ad44c47ca Create interaction for receiving message 2017-10-01 18:41:01 -04:00
Moez Bhatti 2cab83433e Create interactor for sending messages 2017-10-01 17:19:15 -04:00
Moez Bhatti 57d9ee1f77 Fixed blank thread opening at every launch 2017-09-30 13:22:32 -04:00
Moez Bhatti d852349bf0 Reorder MessageTransaction functions 2017-09-29 18:25:29 -04:00
Moez Bhatti 132654b29c Use abstract references to MessageTransaction in MessageRepository 2017-09-29 18:13:30 -04:00
Moez Bhatti 69d4e5b954 Move code for changing message status into Transaction classes 2017-09-29 18:05:56 -04:00
Moez Bhatti a73f8081af Use @Inject constructors instead of providing deps in Module 2017-09-29 17:16:19 -04:00
Moez Bhatti 5a8b8f36ee Reorganize packages 2017-09-29 14:20:13 -04:00
lucyyu24 e809234796 Changed floating action button id and layout margin 2017-09-29 00:02:26 -07:00
lucyyu24 9eda703ccc Merge branch 'fab' of github.com:moezbhatti/qksms3 into fab 2017-09-28 23:45:52 -07:00
lucyyu24 89bd081c14 Added floating action button to Conversation List view 2017-09-28 23:13:05 -07:00
Moez Bhatti a6eb1fe2b2 Mark conversation read when new messages are added to adapter 2017-09-28 14:02:03 -04:00
Moez Bhatti 1ed758c245 Bind avatars inside of conversation 2017-09-27 21:16:22 -04:00
Moez Bhatti 6f8b6a42a1 Clip avatar to circle 2017-09-27 14:35:17 -04:00
Moez Bhatti b329e29435 Load contact avatars in conversation list 2017-09-27 14:24:09 -04:00
Moez Bhatti ffd4e06d77 Add ability to Mark read or Reply from notification 2017-09-27 04:40:48 -04:00
Moez Bhatti f327a90d63 Open conversation when notification clicked 2017-09-27 03:08:15 -04:00
Moez Bhatti 4f5d19fa55 Fixed typo 2017-09-27 02:29:41 -04:00
Moez Bhatti a6844a566e Show sender's name in notification 2017-09-26 17:47:33 -04:00
Moez Bhatti 2341834c6e Improved date formatting 2017-09-26 16:58:43 -04:00
Moez Bhatti a6ecbb3696 Improve readability for unread state 2017-09-26 16:35:34 -04:00
Moez Bhatti 9c826ff71e Display notifications for incoming messages, mark seen when notification dismissed 2017-09-26 13:55:14 -04:00
Moez Bhatti d88bdf679d Add ability to mark messages Read or Sent 2017-09-26 12:35:50 -04:00
Moez Bhatti 14e2dbddeb Improved UI for message status 2017-09-26 02:47:41 -04:00
Moez Bhatti dde3d0044c Don't force notifications on launch 2017-09-26 02:15:49 -04:00
Moez Bhatti 48e2f5e4c1 Add timestamps to conversations 2017-09-26 02:10:11 -04:00
Moez Bhatti 67ca4f5477 Fix crash with setting colour resources 2017-09-26 01:33:08 -04:00
Moez Bhatti 413ff51f0f Custom Toolbar 2017-09-26 01:12:33 -04:00
Moez Bhatti bea81ce7b8 Set up dumb ThemeManager, don't rely on color resources for themed assets 2017-09-25 23:44:33 -04:00
Moez Bhatti 5633af8aab Scroll to bottom when new messages sent 2017-09-25 22:36:11 -04:00