Comments (1)
I've ported more work from the native-backport
branch which addresses this activity lifecycle issue. The action bar is now not initialized until you call setContentView()
in the activity or commit()
a fragment transaction. Once the action bar is attached, an initial invalidateOptionsMenu()
is performed. If you are committing a fragment transaction an additional invalidation will occur again once the asynchronous attachment has completed.
This should hopefully allow you to perform your operations before the call to one of the two above methods. Please report back any troubles you find with it as I have only done fairly simple testing so far.
from actionbarsherlock.
Related Issues (20)
- Android 5 crash HOT 1
- can not import with build-tools-21.0.2 HOT 1
- Android L Upgrade HOT 1
- ActionBar Height is double in landscape on GT-S5360 2.3.6
- No resource found that matches the given name 'Theme.AppCompat.Light' HOT 1
- Sherlock dialog not dislpaying on devices with android v4+? HOT 1
- different proform in different devices
- ActionBarSherlock is incompatible with Appcompat HOT 4
- Various png files generate libpng warnings in Android Studio 1.1.0 or Gradle HOT 2
- SherlockFragmentActivity with TabHost, the item activity getActionBar null HOT 1
- Compile with API level 22 error: Error:In <declare-styleable> SherlockSpinner, unable to find attribute android:popupPromptView
- Migrating from sherlock to appcompat does not reduce apk size HOT 1
- Alert Dialogue and Pop up menu theme
- "titleTextStyle" has already been defined
- Watson.java mFragmens.mAdded can't find HOT 8
- Watson.java HOT 1
- Test
- Sherlock? HOT 1
- Tab size issue with Android 7.0 HOT 2
- SherlockActionbar conflicts with latest FacebookSdk facebook-android-sdk:[4,5) HOT 1
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 actionbarsherlock.