Commit Graph

65 Commits

Author SHA1 Message Date
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 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 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 93c49bc0fc Use immutable state to render MessageListActivity 2017-09-19 15:24:51 -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
Moez Bhatti 15c6cc159d load contact from realm if possible 2017-08-28 16:18:04 -07:00
Moez Bhatti 837f474e97 move conversationlist into activity 2017-08-28 16:06:04 -07:00
Moez Bhatti daaf62f18a use activity to display messagelist 2017-08-28 15:58:20 -07:00
Moez Bhatti 92951748b6 use activity to display messagelist 2017-08-28 15:57:15 -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 79ec62324e remove getAppComponent from fragment 2017-08-28 12:48:08 -07:00
Moez Bhatti caf2cd352f remove boilerplate for setting layout and menu in fragment 2017-08-28 12:47:06 -07:00
Moez Bhatti 813ea2b1f8 bind fragments in onviewcreated 2017-08-28 12:24:22 -07:00
Moez Bhatti 582f5bd308 use kotlin android extensions for viewbinding in activity and fragment 2017-08-28 12:20:27 -07:00
Moez Bhatti e193b8f3cf use dagger to inject messagelist viewmodel 2017-08-28 12:05:38 -07:00
Moez Bhatti 98f5e80dcc use dependency injection for conversation viewmodel 2017-08-28 11:17:35 -07:00
Moez Bhatti 1d4860da31 use dependency injection for conversation viewmodel 2017-08-28 11:17:14 -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 133af1cfba add classes necessary to be default sms app 2017-08-14 23:13:13 -04:00
Moez Bhatti 52d2116d10 use Rx to insert conversations and messages into realm asyncronously 2017-08-14 22:46:02 -04:00
Moez Bhatti 8b408c88a1 separate layout file for each message viewtype 2017-08-13 22:51:21 -04:00
Moez Bhatti 5c4fafe9ba added sorting for messages 2017-08-13 22:41:35 -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 6826e66287 add bugsnag support 2017-08-13 16:16:53 -04:00
Moez Bhatti 5d621b53a0 updated to sdk 26 2017-08-13 16:13:04 -04:00
Moez Bhatti afe8f08065 migrate messagelist to fragment, use mvp 2017-07-31 21:08:27 -04:00
Moez Bhatti e120aa9ac0 update conversations on request instead of every time 2017-07-25 16:46:30 -04:00
Moez Bhatti 1eacd43f65 update conversations on request instead of every time 2017-07-25 16:45:43 -04:00