In part 5 of the notifications tutorial, we will take a look at the 5th and last pre-defined style for expandable notifications, which is the MessagingStyle. With it we can show a chat log between 2 or more people as a sequence of messages, which each contain a text, a timestamp and a sender.
With the RemoteInput class we can also add a direct reply input field to the notification, where the user can send his answer without opening the app. We add the direct reply functionality as a notification action button and catch the input in form of a Bundle with getResultsFromIntent in a BroadcastReceiver.
Watch the whole playlist:
• Playlist
Example code for this part:
https://gist.github.com/codinginflow/...
____________________
💻 Find the BEST programming tutorials on TutHub:
https://tuthub.io
⭐ Get my MVVM Caching Course now:
https://codinginflow.com/caching
❗ Subscribe to the channel:
/ codinginflo. .
📨 Subscribe to the Coding in Flow newsletter:
https://codinginflow.com/newsletter
❓ Join our free developer community:
/ discord
📣 Follow Coding in Flow on other sites:
Facebook: / codinginflow
Instagram: / codinginflow
TikTok: / codinginflow
Twitter: / codinginflow
Github: https://github.com/codinginflow
💰 Business requests, sponsoring, etc.: info@codinginflow.com
Auf dieser Seite können Sie das Online-Video Notifications Tutorial Part 5 - MESSAGING STYLE + DIRECT REPLY - Android Studio Tutorial mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer Coding in Flow 21 Juni 2018 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 33,733 Mal angesehen und es wurde von 426 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!