In this video we will learn, how to open a Fragment with an animation and how to communicate between the Fragment and it’s Activity, using an Interface. We will send a String to the Fragment using the newInstance method and communicate back to the Activity by implementíng an interface into our MainActivity.
Example code:
https://gist.github.com/codinginflow/cd3ab43ca2f45e473ad34a2f0f0a9435
____________________
⭐ Get my new MVVM Caching Course now:
https://codinginflow.com/caching
❗ Subscribe to the channel:
https://www.youtube.com/c/codinginflow?sub_confirmation=1
💲 Earn money by becoming an affiliate for my courses:
https://codinginflow.com/affiliate
📨 Subscribe to the Coding in Flow newsletter:
https://codinginflow.com/newsletter
💻 Hire me for your next project:
💚 Donate to Coding in Flow with a message:
https://paypal.me/codinginflow
❓ Ask your programming questions in our chat:
https://discord.gg/TSnMvmc
📣 Follow Coding in Flow on other sites:
Facebook: https://www.facebook.com/codinginflow
Instagram: https://www.instagram.com/codinginflow
Twitter: https://twitter.com/codinginflow
Github: https://github.com/codinginflow
source
A YouTube to MP4 conversion software is a software or on-the-web tool designed to download…
Cooking is an art, and each artist needs the right equipment to bring their masterpiece…
Hey there, scooter enthusiast! Whether you're a seasoned rider or just thinking about zipping around…
Hey there, massage fans! If you're in Busan and also searching for a way to…
Hey there! If you're planning a trip to Busan, or if you're already here and…
Are you looking for ways to get more followers on your social media accounts to…