Header Ads

Notifications with Direct Reply (Android Development Patterns S3 Ep 4)

Read the blog post: http://goo.gl/ilTi3W

Direct Reply allows you to receive text input from the user directly in the notification shade. You enable Direct Rely by attaching a RemoteInput to one or more of your notification’s actions and your action’s PendingIntent will be sent the text the user enters. Messaging apps can take advantage of MessageStyle to provide a rich experience on phones, tablets, and Android Wear 2.0 devices. In any case, the notification should *always* be updated after you process the entered text.

#BuildBetterApps #AndroidN #notifications #directreply

No comments:

Powered by Blogger.