Commit Graph

23 Commits

Author SHA1 Message Date
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