Commit Graph

69 Commits

Author SHA1 Message Date
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
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 26a7fe72c8 use lato instead of roboto 2017-08-13 23:32:10 -04:00
Moez Bhatti d0c64a0c3c added text styles for primary and secondary text 2017-08-13 23:18:41 -04:00
Moez Bhatti fc8164e00b rtl support in message layout 2017-08-13 22:51:52 -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 c5c07ef4d0 updated gradle 2017-07-25 16:49:34 -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
Moez Bhatti 8a4dddb115 use separate application id for debug builds 2017-07-25 00:08:13 -04:00
Moez Bhatti 2f41c6eeca updated gradle & kotlin version 2017-07-25 00:07:44 -04:00
Moez Bhatti a82a96a1c9 Drastic cleanup of ColumnsMap.kt 2017-07-08 21:27:38 -04:00
Moez Bhatti 523a8c3561 Stack messages from bottom 2017-07-08 20:55:52 -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