Android: Action Mode with Action Bar Sherlock
If you are using Action Modes with ABS, you have probably come across the issue of action modes not responding if there are multiples of them. I searched around but couldn't get a fix. Finally did the following fix:
modeHandler.postDelayed(new Runnable() {
@Override
public void run() {
newMode = startActionMode(newModeCallback);
}
}, 10);
You can follow the issue here: https://github.com/JakeWharton/ActionBarSherlock/issues/208
Written by Adnaan Badr
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Android
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#