2

My post refers to this question: OnClickListener in Listview populated with a CursorAdapter.

When I click fast and a lot of time on the same button in my ListView, after a moment my app behaves as if I clicked on another row... It is like if the buttons were activated AFTER their parents were recycled (note that, when I click on the buttons, the content of my list is refreshed).

There is a weird 'mirror effect' too.... Let's say the Listview has 12 items and the items 3 to 11 are shown on the screen. if I click (fast) on the button at positon X, after a moment the application behaves as if I clicked on the button positionned at Y with:

  • X:03, Y:11
  • X:04, Y:10
  • X:05, Y:09
  • X:06, Y:08
  • X:11, Y:03
  • X:10, Y:04
  • X:09, Y:05
  • X:08, Y:06

Any explanation or suggestion?

Community
  • 1
  • 1
Gilbou
  • 5,244
  • 6
  • 24
  • 27
  • An alternative could be this http://stackoverflow.com/questions/4461134/android-listview-adapter-onclicklistener-issue but it does not explain my bug (I like to understand :)). – Gilbou May 01 '11 at 06:45

0 Answers0