In the past, transferring data from one Fragment to another Fragment was (somewhat) difficult. Now, there is Android Architecture Components, recently released by Google. Using Android Architecture Components we can easily transfer data from one Fragment to another Fragment. Watch a see how!
Oftentimes Android Developers want to display a different layout or different content on the screen. And also sometimes most of the screen remains the same. How do we update only a portion of a screen? Use Fragments. Fragments allow developers to update only a portion of the screen without having to create a new Activity. […]