Commit Graph

107 Commits

Author SHA1 Message Date
Moez Bhatti 36389c9864 Simplify logic for obtaining SmsMessages from Intent 2017-09-25 16:35:48 -04:00
Moez Bhatti 0bb0f47fe9 Don't require Conversation model to be able to store Messages 2017-09-25 16:17:44 -04:00
Moez Bhatti 4c1ecc03c6 When copying message to realm, use correct message from URI 2017-09-25 00:30:57 -04:00
Moez Bhatti e1b33538ba Add receivers for message Sent and Delivery confirmation 2017-09-23 01:11:09 -04:00
Moez Bhatti 7725e7734a White background, update style for Compose bar 2017-09-22 20:52:34 -04:00
Moez Bhatti 6206b70ec3 Correctly sort messages in MessageList 2017-09-22 19:58:45 -04:00
Moez Bhatti 7cd19d3572 Don't show conversations with no messages 2017-09-22 19:58:07 -04:00
Moez Bhatti 17eef8f034 Revamped data structure, use delegated properties for Conversation 2017-09-22 19:21:46 -04:00
Moez Bhatti 8e0277e70e Enable Gradle caching 2017-09-22 12:01:59 -04:00
Moez Bhatti f6063f9e37 Move Message and Conversation queries to appropriate Repository 2017-09-22 11:35:49 -04:00
Moez Bhatti ba1b876ce7 Updated Realm Android Adapter library 2017-09-22 11:26:26 -04:00
Moez Bhatti 19b4c657ed Only display notifications for messages that are unread and unseen 2017-09-22 11:04:11 -04:00
Moez Bhatti 7456790a8c Reorganize extension functions 2017-09-22 03:35:35 -04:00
Moez Bhatti fdfe0c8410 Remove unnecessary use of Android Arch classes 2017-09-22 03:04:54 -04:00
Moez Bhatti 43f5ed27f0 Update Dagger and remove unnecessary Modules 2017-09-22 03:02:38 -04:00
Moez Bhatti e9b4d05e7f Show notifications for all unread conversations 2017-09-22 00:30:12 -04:00
Moez Bhatti 895deff607 Show unread status for conversations 2017-09-21 23:56:25 -04:00
Moez Bhatti a45b502656 Hardcode notification to be displayed on launch, for most recent conversation 2017-09-21 22:00:20 -04:00
Moez Bhatti 5e3f7bbfaa Update dependencies 2017-09-21 14:17:38 -04:00
Moez Bhatti 3450fe2125 Revert "Insert 1 conversation into realm at a time"
This reverts commit bb676e499e.
2017-09-21 13:54:06 -04:00
Moez Bhatti ff0e463cfa Clean up MessageAdapter 2017-09-21 13:44:00 -04:00
Moez Bhatti 9c98e4d270 Group messages by time, don't show avatars for outgoing messages 2017-09-21 13:34:33 -04:00
Moez Bhatti f7d86aec24 Use MVI in ConvesationListActivity 2017-09-21 04:03:38 -04:00
Moez Bhatti 7a2c3d880d Update change listeners in MessageListViewModel 2017-09-21 01:52:54 -04:00
Moez Bhatti 18b9163e5b Clean up MessageListActivity and MessageListViewModel 2017-09-21 01:47:23 -04:00
Moez Bhatti b323005425 Full implementation of MVVM/MVI in MessageList 2017-09-21 00:56:12 -04:00
Moez Bhatti b53895e4c8 Compose ET margins 2017-09-20 19:03:19 -04:00
Moez Bhatti 79e13d96f1 Styling for Compose bar 2017-09-20 19:02:24 -04:00
Moez Bhatti 785fe0a9af support message grouping 2017-09-20 18:34:00 -04:00
Moez Bhatti 214296b418 Update assets and layout for message list 2017-09-20 17:11:54 -04:00
Moez Bhatti 503af07668 Change theme colours 2017-09-20 15:35:05 -04:00
Moez Bhatti a4d4c369c0 Add message bubble assets, colour sent messages 2017-09-20 15:11:04 -04:00
Moez Bhatti 9a1ae958e0 Add ability to send messages 2017-09-20 00:19:55 -04:00
Moez Bhatti f639a652bb Add new messages to Realm 2017-09-19 19:58:46 -04:00
Moez Bhatti 8dfa2891d7 Upgrade Realm to 3.7.0 2017-09-19 19:26:20 -04:00
Moez Bhatti 9c6b3f6a4b Replace Log with Timber 2017-09-19 19:07:22 -04:00
Moez Bhatti bb676e499e Insert 1 conversation into realm at a time 2017-09-19 18:49:48 -04:00
Moez Bhatti 25bca8dadd Insert messages from broadcast into ContentProvider 2017-09-19 17:54:13 -04:00
Moez Bhatti f5b6f0fa91 Don't pass arguments in ViewModel constructors 2017-09-19 17:48:27 -04:00
Moez Bhatti bd6e676f4f Updated text colors 2017-09-19 15:44:16 -04:00
Moez Bhatti 93c49bc0fc Use immutable state to render MessageListActivity 2017-09-19 15:24:51 -04:00
Moez Bhatti 71730ccd8e Upgrade Gradle 2017-09-19 15:24:23 -04:00
Moez Bhatti 7238283362 added message bubbles in conversation 2017-08-29 12:36:21 -07:00
Moez Bhatti eefdb5c713 improve layout for messages and avatars 2017-08-29 12:08:15 -07:00
Moez Bhatti 13ecb946c8 create separate avatarviews for showing single or multiple contacts 2017-08-29 12:01:09 -07:00
Moez Bhatti aca0d14225 create custom view for avatarview, add to conversation layout 2017-08-28 23:54:49 -07:00
Moez Bhatti 1f63205089 add timestamps with formatting to messages 2017-08-28 21:55:34 -07:00
Moez Bhatti 335cd29f71 fix crash when conversation is deleted 2017-08-28 17:13:47 -07:00
Moez Bhatti ece5a8e93b use single function for synchronously obtaining contact 2017-08-28 16:53:06 -07:00
Moez Bhatti 39be6fee0b display contact names loaded from db 2017-08-28 16:41:54 -07:00