im creating application contain viewpager.
i haven't decided whether want use fragments or activities.
if use fragments, have use nested fragments, available mobile users api level 17 , higher. according dashboard, won't able reach 29% of market: https://developer.android.com/about/dashboards/index.html
if use activities, take more work, able reach whole market. easier me since haven't worked fragments @ since i'm relatively new android programming.
should use activities or fragments? , why?
hie, per concern, using view pager fragments more feasible , useful compared activities or activity transitions. fragments have own life cycle , best part can reuse fragment multiple time in activity/parent activity class. viewpager pagerslidingtabstrip 1 use project , go further. requires minimum api level 14 (android 4.0 , higher), through able reach/target more 70% of today's devices. link can up. https://guides.codepath.com/android/sliding-tabs-with-pagerslidingtabstrip