I have 5 fragments in ViewPager
used to fill business object with several fields step by step, in each step some of those fields will be set. I\'ve read many articl
Before choosing any option, keep in mind user can navigate or open any other app(s) so you lost your data.
You can use onSaveInstanceState
but it will somehow difficult to maintain (as you said you are new in android). You can go with with singleton by using
SharefPreference
(preferably) - If you want to use single values.In both cases you will create a singleton object and access its properties in your fragments.