android - screen orientation vs home button onStop() -


i trying build app if user press home button , goes home page via intent ( via onstop() button overridden ) problem happens when orientation changes, calls onstop method go home page also.

i tried read boolean isfinishing anw never true.

how can avoid that?

found ... posting answer let other know in android there method called : ischangingconfigurations() ..
if true rotation happenned


Comments

Popular posts from this blog

google app engine - 403 Forbidden POST - Flask WTForms -

ruby on rails - In a controller spec, how to find a specific tag in the generated view? -

how to run a query SQL in node.js mysql -