Categories: ANDROID APP

Open a Fragment with an Animation + Communicate with Activity – Android Studio Tutorial



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

linda

Recent Posts

The Best Marketing Agencies in Sacramento

Sacramento's premier marketing agencies deliver top-quality service at a highly competitive rate. They tailor strategies…

6 months ago

IAAI Bid History

IAAI provides various services that enable buyers and sellers to acquire or dispose of vehicles…

6 months ago

The most recent News From Cyprus

Cyprusnews is an online news site that provides up-to-the-minute protection and is committed to self-reliance,…

6 months ago

Executive CV Writing Services

Executive CV writing services specialize in crafting well-written documents that attract recruiters' interest. They also…

6 months ago

Understanding the Costs of Earning a Commercial Pilot License

Introduction: Overview of Becoming a Commercial Pilot Becoming a commercial pilot is not just about…

6 months ago

The Best Forex Trading Platform For Beginners

Beginners looking to start trading forex should choose a platform with plenty of educational materials,…

6 months ago