Activities can work with fragments in some neat ways:
Talking to Each Other: Activities can share information with fragments. They do this using something called Bundle
arguments or by using special methods.
Managing Time: An activity helps manage what happens to fragments over time. It does this by calling important methods like onCreateView()
when needed.
Moving Around: Activities help with moving between fragments. They use something called FragmentManager
to handle these changes.
These interactions make your app more organized and improve how users experience it!
Activities can work with fragments in some neat ways:
Talking to Each Other: Activities can share information with fragments. They do this using something called Bundle
arguments or by using special methods.
Managing Time: An activity helps manage what happens to fragments over time. It does this by calling important methods like onCreateView()
when needed.
Moving Around: Activities help with moving between fragments. They use something called FragmentManager
to handle these changes.
These interactions make your app more organized and improve how users experience it!