Question: Develop an Android Application that demonstrates the activity life cycle methods and fragments. ************* This is not the VR / AI one so pls DO

Develop an Android Application that demonstrates the activity life cycle methods and fragments.

************* This is not the VR / AI one so pls DO NOT give me the existed&uploaded code ************

Thank you for your help.

The main activity should have two fragments named Lifecycle Fragment and Profile Fragment. The Lifecycle fragment contains a RecyclerView or ListView control whose items are the names of two other activities, LifecycleActivity and ProfileActivity. When you click on Lifecycle Activity item from the ListView or RecycleView control, it will open the LifecycleActivity screen showing activity life cycle methods messages as shown in the second screenshot.

The LifecycleActivity should have TextView controls to display onCreate, onStart and onResume invoked/executed messages.

The profile fragment uses TextView controls to display your profile information which information (name, qualification, job and hobbies), stored in the string.xml file that take place when the main activity starts as shown in the first screenshot. The same profile information should display when you click on Profile Activity item from the ListView or RecyclerView control as shown in the third screenshot.

Declare the String resources in strings.xml file to hold string values, and also declare other resources such as colors, font sizes (dimensions) in the appropriate resource files.

Feel free to use the codes from FragmentsExample app and RecyclerviewExample from Week 2 examples.

Hint: Students can use two Buttons instead of ListView or RecylerView control in the Lifecycle Fragment.

Develop an Android Application that demonstrates the activity life cycle methods and

Lab1 Ex2 Lab1 Ex2 Lab1 Ex2 Lab Assignment1 - Exercise 2! Select an option to view more... Life Cycle Activity onCreate() invoked onStart() invoked onResume() invoked Name: Max Qualification: Bachelors in CS Dream Job: Developer Hobby: Reading Profile Activity Name: Max Qualification: Bachelors in CS Dream Job: Developer Hobby: Reading

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!