I'm new to android and i have developing an android app that is starting now. It is kinds of saveable user input information with specific Date/Time. And reviewable previous stored data to user. And also store some setting information.
This may be look simple but it will cost a lot of UI components. I recently learned Activity and Fragment and preferred to use one Main Activity class and the rests are will build with Fragments.
My understanding is, Fragment is corporate with Activity Life cycle and intend to use as reusable for other Activities.
But the thing that i want to know is as i mentioned in question,
- Is that cost performance for using Activity per UI View ?
- If using with Fragment for UI View, it may be more good in performance but reliability (such as : manually maintaining data states while rotation with Activity and Fragment each other, but if used Activity it will more less custom maintenance) is more sure for using Fragment ?
I want some advice of my question.