Nguyễn Trần Mai Trang
New member
Should I use activities or fragments?
Answer
By storing the information of interest within the Activity, the Fragment for each screen can simply access the object reference through the Activity. Activities are the full screen components in the app with the toolbar, everything else are preferably Fragments.
Answer
By storing the information of interest within the Activity, the Fragment for each screen can simply access the object reference through the Activity. Activities are the full screen components in the app with the toolbar, everything else are preferably Fragments.