I have few activities that sets parameters for the last activity For e.g. Let's say I have 4 activities A->B->C->D. In A, B, C activities users selects few parameters that are finally needs to be available to D. Now there are two ways to achieve this
- Pass the parameter values through activities using intent.putExtra I.e. A passes its parameters to B and then B passes it to C and so on.
- Store these in some static class, Activity D can access it from there.
Just want to know, which of these approaches is best and why?