Questions and Answers
Which method is called to make the visible fragment interactive?
onResume()
In which method should you inflate your layout?
onCreateView()
When does the system call onDestroyView()?
To clean up resources and view hierarchy associated with the fragment
Which method is used to commit changes made to the fragment?
Signup and view all the answers
What is the purpose of onDetach() method in the fragment lifecycle?
Signup and view all the answers
Which method indicates that the user is leaving the fragment?
Signup and view all the answers
What is the purpose of assigning an ID to each component in the XML layout file?
Signup and view all the answers
Which method is used to send data from one activity to another in Android?
Signup and view all the answers
What is the purpose of the send_button_id component in the activity_main.xml file?
Signup and view all the answers
What is the role of the activity_first in the explanation provided?
Signup and view all the answers
Which file represents the UI of the Android project as mentioned in the text?
Signup and view all the answers
What is the function of the putExtra() method in Android?
Signup and view all the answers
What role does step3 perform in the implementation process explained?
Signup and view all the answers
What is the significance of inflating a layout?
Signup and view all the answers
Which method is responsible for destroying the view but not other fragment state when a fragment is being replaced or removed?
Signup and view all the answers
How does assigning an ID to each component affect app development?
Signup and view all the answers