I have several Activities in a program. Lets say, activities A, B and C.
Activity A is the main activity
in this context. It contains object X, that must be accessible for all other activities (Activities: B and C).
Activity A will start activity B and then B will start С. After that both activities A and B are in the background and can be killed
by the OS. How should I pass object X to activities B and C in order to be sure that object X will not be killed when A&B are killed?