I am implementing an app which have MainActivity , onlyFirstRunActivity and alwaysRunActivity . Now i want that on app installtion or on updation of app my app cycle should be like that:
MainActivity -> onlyFirstRunActivity -> alwaysRunActivity
and after installing or on updation my app cycle should be :
MainActivity -> alwaysRunActivity
How can i implement this situation