Strange options menu behavior in Android TabActivity
- by jboxer
I have a TabActivity with four tabs (each is its own Activity). Each tab defines its own onCreateOptionsMenu (and in some cases, onPrepareOptionsMenu). When each tab is loaded, an AsyncTask is kicked off to retrieve the data needed to populate that tab's list.
If I switch between tabs very quickly (while they're still loading) and then press the…