Re: [android-developers] Detecting flings in a ListActivity containing non-simple views

2010-11-13 Thread Dianne Hackborn
Where are you attaching your listeners? Are you taking into account view recycling? This is not generally something one wants to do in a list view, and if you do go down this path you need to be very careful about understanding how list view works with recycling views and such. On Sat, Nov 13, 2

[android-developers] Detecting flings in a ListActivity containing non-simple views

2010-11-13 Thread FractalBob
Hi, I have a list that contains views consisting an ImageView followed on the right by a TextView: I implemented fling the usual way, as follows: listItemView.setOnClickListener(NewsListActivity.this); listItemView.setOnTouchListener(gestureLi