hi, in a row of a *ListView *i have a *TextView *and an *ImageButton* on an *ListView *instance i have a *GestureDetector *and a extended * SimpleOnGestureListener*, on the ImageView instance i have called setFocusable(false).
now, the swipe is registered when the start is not on the *ImageButton*, and everything works. but when i start the swipe on the *ImageButton*, i get a NullPointerExeption. the exeption happens in the *onFling()* method of *SimpleOnGestureListener*, because ne *MotionEvent *e1 is null. is there a way *ImageButton* can continue to be a button, but propagate the event up? here are links to pastebin where you can see the classes: adapter: http://pastebin.com/djgYebcb activity with gesturedetector: http://pastebin.com/4x6Tq7Yb main.xml: http://pastebin.com/WkEje1h7 row.xml: http://pastebin.com/2YTmwGju thx -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

