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

Error implementing Long-Click to show #59

Open
zenkhas opened this issue Jan 15, 2018 · 0 comments
Open

Error implementing Long-Click to show #59

zenkhas opened this issue Jan 15, 2018 · 0 comments

Comments

@zenkhas
Copy link

zenkhas commented Jan 15, 2018

When using long-click to show the menu, it causes crash when clicking any other view.

Test case:

  1. Implement inside long-click listener
  2. Long-click on the button to show the menu
  3. click on the button again to dismiss the menu
  4. click on any other view, and it will cause crash.

at com.shehabic.droppy.DroppyMenuPopup.dismissPopup(DroppyMenuPopup.java:152)
01-15 18:00:32.529 19205-19392/com.retailistan.salesflo:acra E/PRETTY_LOGGER: │ at com.shehabic.droppy.DroppyMenuPopup.dismiss(DroppyMenuPopup.java:147)
01-15 18:00:32.529 19205-19392/com.retailistan.salesflo:acra E/PRETTY_LOGGER: │ at com.shehabic.droppy.DroppyMenuPopup$2.onClick(DroppyMenuPopup.java:103)
01-15 18:00:32.529 19205-19392/com.retailistan.salesflo:acra E/PRETTY_LOGGER: │ at android.view.View.performClick(View.java:5623)
01-15 18:00:32.529 19205-19392/com.retailistan.salesflo:acra E/PRETTY_LOGGER: │ at android.view.View$PerformClick.run(View.java:22433)
01-15 18:00:32.529 19205-19392/com.retailistan.salesflo:acra E/PRETTY_LOGGER: │ at android.os.Handler.handleCallback(Handler.java:751)
01-15 18:00:32.529 19205-19392/com.retailistan.salesflo:acra E/PRETTY_LOGGER: │ at android.os.Handler.dispatchMessage(Handler.java:95)
01-15 18:00:32.529 19205-19392/com.retailistan.salesflo:acra E/PRETTY_LOGGER: │ at android.os.Looper.loop(Looper.java:154)
01-15 18:00:32.529 19205-19392/com.retailistan.salesflo:acra E/PRETTY_LOGGER: │ at android.app.ActivityThread.main(ActivityThread.java:6247)
01-15 18:00:32.529 19205-19392/com.retailistan.salesflo:acra E/PRETTY_LOGGER: │ at java.lang.reflect.Method.invoke(Native Method)
01-15 18:00:32.529 19205-19392/com.retailistan.salesflo:acra E/PRETTY_LOGGER: │ at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:872)
01-15 18:00:32.529 19205-19392/com.retailistan.salesflo:acra E/PRETTY_LOGGER: │ at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:762)

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