Answers for "android start same activity multiple times"

0

same activity called multiple times

Android will recreate your activity after certain "device configuration changes". One such example is orientation. You can read more here... http://developer.android.com/guide/topics/resources/runtime-changes.html

Perhaps something in your threads is doing something which is considered a configuration change?

If that's the case you might find it useful to extend the Application class instead and do your initialization there. See this post... Activity restart on rotation Android
Posted by: Guest on February-25-2021

Code answers related to "android start same activity multiple times"

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language