I have a TabHost
with two tabs
in it. The first time I switch to the second tab
the onResume()
method of my second's tab's activity
invoked. Then I have an AlertDialog
shown and after it disappears the 'onResume()' method isn't called but I really wait for it. I presume that invocation of 'AlertDialog' triggers 'onPause()' method and the 'onResume()' should be called before 'Activity' is actually shown and ready for interaction with user. But in face 'onPause()' isn't called when I switch back to the first tab
which is another activity
.
Can you advice why the 'onPause()' and 'onResume()' methods aren't called and what methods are called after showing an 'AlertDialog' or switching between tabs
?