Skip to content

Commit d6d0b1f

Browse files
Merge pull request amitshekhariitbhu#100 from RotBolt/RotBolt-patch-1
Add more android interview questions and answers
2 parents 8499d90 + baa6b4a commit d6d0b1f

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,9 @@
8383
* **What is retained `Fragment`?**
8484
- By default, Fragments are destroyed and recreated along with their parent Activity’s when a configuration change occurs. Calling setRetainInstance(true) allows us to bypass this destroy-and-recreate cycle, signaling the system to retain the current instance of the fragment when the activity is recreated.
8585

86+
* **What is the purpose of `addToBackStack()` while commiting fragment transaction?**
87+
- 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)
88+
8689
#### Views and ViewGroups
8790

8891
* **What is `View` in Android?** - [Learn from here](https://blog.mindorks.com/android-user-interface-view-components)
@@ -440,6 +443,8 @@
440443

441444
* **Design File Downloader** - [Learn from here](https://github.com/MindorksOpenSource/PRDownloader)
442445

446+
* **Design an Image Loading Library** - [Learn from here](https://medium.com/@maheswaranapk/android-create-your-own-image-loading-library-in-kotlin-diy-bc7be9f286c5)
447+
443448
* **HTTP Request vs HTTP Long-Polling vs WebSockets** - [Learn from here](https://www.youtube.com/watch?v=k56H0DHqu5Y)
444449

445450
### Android Unit Testing

0 commit comments

Comments
 (0)