![]() ![]() ![]() Understanding the relationship between Activity and Fragment lifecycles helps you design fragments that can save and restore variables and communicate with activities.Īn Activity that hosts a Fragment can send information to that Fragment, and receive information from that Fragment. Like an Activity, a Fragment has its own lifecycle. ![]() Communicating between a Fragment and an Activity.Using Fragment methods and the Activity context.Unit 6: Working with Architecture Components 1.2: Fragment lifecycle and communicationsĤ.3: Best practices: network, battery, compression ![]()
0 Comments
Leave a Reply. |