From 59cfcbfecc7d81729e5704a33d2a96a810eb555d Mon Sep 17 00:00:00 2001 From: Abhishek <44096339+abhishekcode7@users.noreply.github.com> Date: Tue, 4 Feb 2025 12:46:06 +0530 Subject: [PATCH] Update README.md - added 1 question related to activity lifecycle --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 6d018a0..9564f67 100755 --- a/README.md +++ b/README.md @@ -321,6 +321,8 @@ Android Interview Questions and Answers: * **What is the purpose of `addToBackStack()` while commiting fragment transaction?** - By calling addToBackStack(), the replace transaction is saved to the back stack so the user can reverse the transaction and bring back the previous fragment by pressing the Back button. For more [Learn from here](https://stackoverflow.com/questions/22984950/what-is-the-meaning-of-addtobackstack-with-null-parameter) +* **Suppose Activity B is started from Activity A, tell the sequence in which the lifecycle methods will be called for each Activities** + #### Views and ViewGroups * **Optimizing layouts in Android** - [Learn from here](https://www.linkedin.com/posts/amit-shekhar-iitbhu_softwareengineer-androiddev-android-activity-7269208182390951936-dAg3)