Comments (3)
What device/OS/version are you using?
from android-lifecycle.
Last year I was testing my app on Samsung P5100, Android 4.1. That strange sequence of events occurred on that device.
Today I have a new Samsung SM-T815, Android 5.0.2. I also use support libs in my app. And surprisingly the events sequence is correct now.
I guess that the problem I faced was caused by a bug in Android 4.1. Unfortunately, I have no P5100 device to repeat the test. So probably my issue should be closed.
from android-lifecycle.
I'd the same issue with Nexus Emulator API 25.
If anyone is searching here for a workaround to this issue, just call invalidateOptionsMenu() on your onResume method.
from android-lifecycle.
Related Issues (20)
- add call to `Activity.onDetachedFromWindow`
- Fragment#onActivityResult()
- Samsung made lifecycle changes HOT 3
- Consider adding View/ViewGroup lifecycles HOT 1
- Service Lifecycle HOT 2
- Add DialogFragment lifecycle HOT 1
- onActivityResult() actually is called before onRestart() then onStart() HOT 7
- onSaveInstanceState() vs onRestoreInstanceState() HOT 1
- show sequence of Fragment in an Activity HOT 1
- Explanation about when does onActivityCreated method not called HOT 1
- Multi-window mode HOT 2
- Bug HOT 3
- Add onCreateAnimation callback
- onPostCreate() not called as shown
- onSaveInstanceState() of Activity is called before onStop(), not onDestroy()
- missing onActivityResult in fragment lifecycle HOT 1
- onActivityResult is called after onRestoreInstanceStatus
- 没有生命周期
- Clarification: onCreateOptionMenu() called ones but onPrepareOptionMenu() every time HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from android-lifecycle.