Commit Graph

36 Commits

Author SHA1 Message Date
Moez Bhatti 6b8d190361 Display status of outgoing messages 2017-09-25 22:08:33 -04:00
Moez Bhatti bdc84dfe1e Make sure to show latest snippet in conversation list 2017-09-25 17:11:58 -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 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 f6063f9e37 Move Message and Conversation queries to appropriate Repository 2017-09-22 11:35:49 -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 895deff607 Show unread status for conversations 2017-09-21 23:56:25 -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 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 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 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
Moez Bhatti 15c6cc159d load contact from realm if possible 2017-08-28 16:18:04 -07:00
Moez Bhatti f7aba7c5bd correctly bind actionbar in messagelist activity 2017-08-28 15:45:41 -07:00
Moez Bhatti 22489af4c3 set up contactrepository to inflate phone number in contact 2017-08-28 15:13:27 -07:00
Moez Bhatti 7996048658 move syncmanager to conversationviewmodel using DI, use swipe to refresh instead of menu for syncing conversations 2017-08-28 13:18:36 -07:00
Moez Bhatti a7222a220f migrate from mosby mvp to viewmodel + repository 2017-08-27 17:58:50 -07:00
Moez Bhatti edba4eadbe store recipient model instead of recipients string in conversation 2017-08-22 19:51:01 -07:00
Moez Bhatti a32dd041ee make sure to use distinct messages and conversations from contentprovider 2017-08-21 19:06:48 -07:00
Moez Bhatti 52d2116d10 use Rx to insert conversations and messages into realm asyncronously 2017-08-14 22:46:02 -04:00
Moez Bhatti b74dbcc5a7 added .forEach() extension to cursor 2017-08-13 22:27:24 -04:00
Moez Bhatti 524310d3b7 sync all db data from single call, organize sync-related classes 2017-08-13 19:32:52 -04:00
Moez Bhatti e120aa9ac0 update conversations on request instead of every time 2017-07-25 16:46:30 -04:00
Moez Bhatti a82a96a1c9 Drastic cleanup of ColumnsMap.kt 2017-07-08 21:27:38 -04:00
Moez Bhatti 3de1229de6 Align messages to correct side in list 2017-07-08 20:51:50 -04:00
Moez Bhatti d8eb265321 Fix message caching when sms body is empty 2017-07-07 19:33:07 -04:00
Moez Bhatti e851000c76 Display messages in conversation after conversation is clicked 2017-05-29 20:49:02 -04:00