Commit Graph

60 Commits

Author SHA1 Message Date
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
Moez Bhatti 4efefee500 Improve layout for conversation list and message list 2017-07-07 19:32:44 -04:00
Moez Bhatti e0c8c78dba Add title to conversation list item, update editor previews 2017-07-07 19:21:56 -04:00
Moez Bhatti 7d520445dc Update editor previews for messagelist 2017-07-07 19:21:40 -04:00
Moez Bhatti ee42ecd2d6 Updated gradle 2017-07-07 18:49:17 -04:00
Moez Bhatti 9842e88f32 Use Presenter for ConversationFragment 2017-06-10 09:31:35 -04:00
Moez Bhatti 3b0582a969 Move conversation list to fragment 2017-06-10 02:56:51 -04:00
Moez Bhatti 6cd0c9bc0f Add dependencies for Mosby and Rx 2017-06-10 02:30:24 -04:00
Moez Bhatti 92182e1e84 Updated gradle 2017-06-05 10:56:18 -04:00
Moez Bhatti e851000c76 Display messages in conversation after conversation is clicked 2017-05-29 20:49:02 -04:00