etsy/AndroidStaggeredGrid

NPE when long pressing a list item

jenzz opened this issue · 1 comments

This happens due to missing support for context menus.

F/Uncaught exception( 8794): java.lang.NullPointerException
F/Uncaught exception( 8794): at android.widget.AbsListView.showContextMenuForChild(AbsListView.java:3587)
F/Uncaught exception( 8794): at android.view.ViewGroup.showContextMenuForChild(ViewGroup.java:668)
F/Uncaught exception( 8794): at android.view.View.showContextMenu(View.java:4710)
F/Uncaught exception( 8794): at android.view.View.performLongClick(View.java:4679)
F/Uncaught exception( 8794): at android.widget.TextView.performLongClick(TextView.java:10111)
F/Uncaught exception( 8794): at android.view.View$CheckForLongPress.run(View.java:19393)
F/Uncaught exception( 8794): at android.os.Handler.handleCallback(Handler.java:733)
F/Uncaught exception( 8794): at android.os.Handler.dispatchMessage(Handler.java:95)
F/Uncaught exception( 8794): at android.os.Looper.loop(Looper.java:146)
F/Uncaught exception( 8794): at android.app.ActivityThread.main(ActivityThread.java:5487)
F/Uncaught exception( 8794): at java.lang.reflect.Method.invokeNative(Native Method)
F/Uncaught exception( 8794): at java.lang.reflect.Method.invoke(Method.java:515)
F/Uncaught exception( 8794): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1283)
F/Uncaught exception( 8794): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1099)
F/Uncaught exception( 8794): at dalvik.system.NativeStart.main(Native Method)

Same for me