Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

便签卡片长按会出现空指针 #24

Open
luciferldy opened this issue Jul 12, 2016 · 0 comments
Open

便签卡片长按会出现空指针 #24

luciferldy opened this issue Jul 12, 2016 · 0 comments

Comments

@luciferldy
Copy link

异常表明问题出现在 ActionMode.onPrepareActionMode 没有被调用导致 Menu 没有被初始化。
参考了这两篇文章
http://stackoverflow.com/questions/29927534/onprepareactionmode-not-called-when-creating-actionmode
https://code.google.com/p/android/issues/detail?id=159527
我的编译版本是 21
ActionMode.onPrepareActionMode 函数需要使用 mActionMode.invalidate() 触发。

也有可能是我的编译版本的问题,但是我这里使用 19 编译会出现 multi dex 的异常。上述问题希望您还能看一下。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant