Strange scroll behavior


During my challenge coding I came across some weird scrolling behavior that is present even in the sample code.

If I scroll down a bit, then “untouch” the screen allowing the scroll bar to fade, then hit it with an upswipe with a lot of acceleration it does not stop on item 0 and the screen displays blanks and cannot ever scroll again.

I added a custom adapter so I could observe “position” in getItem and it looks fine. This is driving me NUTS!


Well the problem was I used android.R.layout.simple_list_item_1 instead of simple_gallery_item - I still do not understand WTF was going on though… or why