Commit Graph

57 Commits

Author SHA1 Message Date
Moez Bhatti 2168c16c5e Load appropriate conversation based on chip selection 2017-11-29 04:10:31 -05:00
Moez Bhatti 89bcf84ab6 Fix potential memory leak from chip selection/deselection 2017-11-28 19:22:08 -05:00
Moez Bhatti ad4fa5deba Keep a reference to a conversation observable instead of conversation, don't manually call methods in VM from Activity 2017-11-28 19:12:40 -05:00
Moez Bhatti 62e19a154c Use withLatestFrom to get message text for sending, instead of relying on state 2017-11-28 18:02:14 -05:00
Moez Bhatti 93762609ab Manage visibility for compose bar 2017-11-28 17:30:41 -05:00
Moez Bhatti f914f19ee8 Use lists of data instead of Flowables for ChipsAdapter and ContactsAdapter 2017-11-28 16:03:41 -05:00
Moez Bhatti 3626149d1d Refactor MessagesActivity to ComposeActivity 2017-11-28 14:27:58 -05:00
Moez Bhatti 86dc4c63ac Merged MessagesActivity and ComposeActivity 2017-11-28 14:25:06 -05:00
Moez Bhatti 52870d02fd Don't require State as a type parameter for an Activity 2017-11-28 02:24:12 -05:00
Moez Bhatti 67e8ba893c Use BehaviourSubject instead of LiveData 2017-11-28 02:20:24 -05:00
Moez Bhatti b8f6095d00 Added support for partial sync 2017-11-27 18:15:16 -05:00
Moez Bhatti 41a330d298 Fix tinting for compose button 2017-11-23 14:00:17 -05:00
Moez Bhatti a1ef3bb918 Use icon instead of question mark for avatars 2017-11-23 13:57:40 -05:00
Moez Bhatti 087e8b1564 Updated colours 2017-11-23 13:48:08 -05:00
Moez Bhatti 8e768a7e62 Clean up usage of SendMessage.Params 2017-11-23 02:59:14 -05:00
Moez Bhatti 95ca4d05b4 Long-press to delete message 2017-11-23 01:12:00 -05:00
Moez Bhatti 4d7a3276cc Long-press message for option to copy text 2017-11-23 00:56:47 -05:00
Moez Bhatti 60722d204f Compose contact selection (#7)
* Create empty compose activity

* Display all contacts in compose activity

* Remove unused method

* Updated design in MessagesActivity

* Show detailed contacts in compose suggestions

* Add observable EditText to Compose Toolbar

* Allow querying the list of contacts in Compose

* Add remaining fields from mms-sms contentprovider

* Update gradle build tools

* Added support for contact selection chips
2017-11-21 14:54:29 -05:00
Moez Bhatti 8e95999275 Updated design in MessagesActivity 2017-11-15 23:02:22 -05:00
Moez Bhatti 67e778102e Swipe to archive (#6)
* Added support for moving conversations to archived inbox

* Optimized query for loading conversations

* Upgrade RxKotlin

* Explicitly define type for archivedConversationIntent

* Ensure that swipe functionality is only for Inbox
2017-11-15 14:55:18 -05:00
Moez Bhatti 9602bfb323 Clean up MainViewModel 2017-11-05 17:56:25 -05:00
Lucy Yu 7dbb421a61 Swipe to archive (#5) 2017-11-05 14:42:43 -08:00
Moez Bhatti 70c7f55eb5 Load/cache contact photos by phone number 2017-11-02 13:28:47 -07:00
Moez Bhatti 8ed726097a Fix spacing 2017-11-02 12:48:51 -07:00
Moez Bhatti e300434608 Use Uri to load Contact photos in AvatarView 2017-11-01 22:14:19 -07:00
Moez Bhatti e0ea54f1f4 Allow changing page via navigation menu 2017-11-01 18:12:36 -07:00
Moez Bhatti 3c63d7b5b3 Refactor Conversations to Main 2017-11-01 17:40:18 -07:00
Moez Bhatti 20af29c1d4 Create Adapter in ViewModel instead of Activity 2017-11-01 17:37:14 -07:00
Moez Bhatti 625e583b13 Implement Disposable in Interactor, make internal disposables private 2017-11-01 17:22:30 -07:00
Moez Bhatti 36ec292f74 Refactor name of Sync interactor 2017-11-01 16:58:20 -07:00
Moez Bhatti ac7d08042d Hide drawer once item is clicked 2017-11-01 16:55:26 -07:00
Moez Bhatti fc581d9d55 Use RxJava instead of Realm's change listener 2017-11-01 16:05:18 -07:00
Moez Bhatti 359e601378 Upgrade to Realm 4.1.1 2017-11-01 15:34:22 -07:00
Moez Bhatti 915887dc6b Dispose of all Rx Streams and Intents in ViewModel 2017-11-01 15:20:56 -07:00
Moez Bhatti 8a313f0269 Add ability to change default SMS app in settings 2017-11-01 15:11:00 -07:00
Moez Bhatti 8994c15220 Perform manual sync from settings screen 2017-11-01 12:54:20 -07:00
Moez Bhatti 72e94f87e2 Created new Activity for Settings 2017-11-01 00:13:21 -07:00
Moez Bhatti 9bc790ee72 Crop group avatar to circle 2017-10-31 22:14:22 -07:00
Moez Bhatti 1ec08f052c Format phone number before lookup 2017-10-31 21:34:55 -07:00
Moez Bhatti de36618a72 Create custom glide loader to load photos from phone number 2017-10-31 19:17:18 -07:00
Moez Bhatti f33dbc1852 Use Glide to load contact photos 2017-10-31 16:06:10 -07:00
Moez Bhatti 5a865962cd Use custom ViewModelFactory for all ViewModels 2017-10-31 13:40:38 -07:00
Moez Bhatti f2088d73c1 Use View to expose Intents instead of performing logic inside of Activity 2017-10-31 11:50:11 -07:00
Moez Bhatti eee5b45dd5 Create Navigator to allow custom ViewModel constructors 2017-10-31 11:20:59 -07:00
Moez Bhatti a43ce96719 Create QkViewModel, remove need for PartialState objects 2017-10-31 01:05:52 -07:00
Moez Bhatti 64035e85e9 Make callback optional for Interactors 2017-10-31 00:35:03 -07:00
Moez Bhatti f5212cad43 Eliminate need for explicitly creating ViewHolder 2017-10-05 01:02:46 -04:00
Moez Bhatti 08c5265050 Set up UI and click events for Drawer 2017-10-02 17:25:09 -04:00
Moez Bhatti 9c84878472 Create empty drawer layout 2017-10-02 13:37:59 -04:00
Moez Bhatti e09188cd7d Handle marking message failed/delivered in MessageRepository 2017-10-02 11:47:21 -04:00