Where to place GestureDetector within ListView
<p>I have a ListView and I want to detect gestures. Basically a horizontal swipe on a list item. Now I just inflate the list view and have a ViewHolder. Where should I place the GestureDetector?  Should it be a variable of the ViewHolder?  There is no separate view class.  What should implement the callback methods?  The Activity?  All I have for my ListItems is a ViewHolder in the adapter.  Also is swipe detected via onFling() ?</p>
