In the App I'm developing I've got 2 Activities, ActA and ActB.
ActA is the first one to be displayed.
We can say ActA works like a SplashScreen.
Inside ActA i retrive some data which i need in ActB for performing some tasks.
When this data get retrived i can call an Intent which perform the switch to ActB.
Here's the problem: ActB extends ActA becouse it needs ActA retrived data to perform his tasks.
Probably becouse of that, in the moment ActB gets called, ActA method "OnCreate" gets called to.
This create a loop becouse ActA starts retriving other data and calls again ActB. So my app Crash.
How do i forbid ActA to start a second time?