Commit Graph

241 Commits

Author SHA1 Message Date
Moez Bhatti b8572fd0df Fix keyboard focus during contact entry 2017-11-29 07:52:07 -05:00
Moez Bhatti fe528f97b7 Check for reference equivalence in AbstractDiffUtilCallback 2017-11-29 07:43:18 -05:00
Moez Bhatti aadaff8140 Don't show contacts if at least one is selected and there's no query text 2017-11-29 04:38:24 -05:00
Moez Bhatti a4f8cb1c83 Disable animations for contact suggestions 2017-11-29 04:18:30 -05:00
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 da35151cd6 Fixed crash in addMessageFromUri 2017-11-28 02:39: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 a364a3fb6d Perform partial sync if set as default SMS app 2017-11-28 01:57:11 -05:00
Moez Bhatti 91e6b1acec Remove date column in conversations query 2017-11-27 20:22:10 -05:00
Moez Bhatti 9e3ac206e7 During partial sync, only open conversations more recent than the last sync 2017-11-27 20:19:57 -05:00
Moez Bhatti c5757c72f1 Fix partial sync logic 2017-11-27 20:05:31 -05:00
Moez Bhatti b8f6095d00 Added support for partial sync 2017-11-27 18:15:16 -05:00
Moez Bhatti 95c04a7504 Simplify mapping of cursor -> conversation and cursor -> message 2017-11-24 19:10:25 -05:00
Moez Bhatti cc5deb5881 Update android arch components 2017-11-24 15:18:07 -05:00
Moez Bhatti 21ac52263f Install MixpanelAPI 2017-11-23 14:23:47 -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 f09e682f98 Fixed duplicate attribute 2017-11-21 14:56:12 -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 a8476d3be2 Add remaining fields from mms-sms contentprovider 2017-11-17 16:57:00 -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 bc68cf74f7 Added build status to README 2017-11-08 16:03:26 -05:00
Moez Bhatti 0c7d5e5cec I can't believe I've done this 2017-11-05 18:59:15 -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 9ff067103a Fix for ContactImageLoader crash 2017-11-02 13:36:46 -07: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 64ec49b500 Updated Bugsnag 2017-11-01 19:28:03 -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 cc90d72146 Set up JUnit 2017-11-01 16:34:04 -07:00