Commit Graph

258 Commits

Author SHA1 Message Date
Moez Bhatti 22cb4e151f Created custom view to handle preferences better with MVI 2017-12-03 23:56:56 -05:00
Moez Bhatti e5c897b50c Add ability to change theme 2017-12-03 18:15:36 -05:00
Moez Bhatti a06af741ae Show hint for Default SMS preference 2017-12-01 00:47:35 -05:00
Moez Bhatti f295bdf2e7 Fixed crash for SettingsActivity 2017-11-30 16:14:24 -05:00
Moez Bhatti 8f3053cecd Add comments to ComposeViewModel 2017-11-30 14:06:11 -05:00
Moez Bhatti 7031f94875 Add option to call contact in conversation 2017-11-30 02:01:58 -05:00
Moez Bhatti fd5af2714b Use Observable instead of Int for theme color 2017-11-29 23:30:45 -05:00
Moez Bhatti 9df4610c83 Fixed DiffUtilCallback 2017-11-29 21:47:11 -05:00
Moez Bhatti 5cf184a723 Correctly wrap width for message body TextView 2017-11-29 18:06:27 -05:00
Moez Bhatti 3ef8eccc0e Improved rendering for group avatars 2017-11-29 17:11:32 -05:00
Moez Bhatti beac970c2f Create conversation during composing if it hasn't already been created 2017-11-29 16:51:01 -05:00
Moez Bhatti e982a60d2e Improved spacing for chips 2017-11-29 09:51:51 -05:00
Moez Bhatti 77fbe3b50f Improve readability for recipient changing observable 2017-11-29 09:31:35 -05:00
Moez Bhatti 7b95323a0e Group observables for modifying contact selection 2017-11-29 08:55:56 -05:00
Moez Bhatti 4d1a85d5dc Add ripple to contact suggestions 2017-11-29 08:35:45 -05:00
Moez Bhatti 25e6ff912d Disable editing mode once a message is sent 2017-11-29 08:30:53 -05:00
Moez Bhatti 8f4eb5b11a Don't show contacts that have already been selected 2017-11-29 08:19:46 -05:00
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