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
In questa pagina del sito puoi guardare il video online Notifications Tutorial Part 5 - MESSAGING STYLE + DIRECT REPLY - Android Studio Tutorial della durata di ore minuti seconda in buona qualità , che l'utente ha caricato Coding in Flow 21 giugno 2018, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 33,733 volte e gli è piaciuto 426 spettatori. Buona visione!