[android-developers] GalleryView Bug???

2010-10-01 Thread Albert
Hi all,

I have implemented a GalleryView using a custom BaseAdapter. The issue
is that when the gallery reaches either end, the getView() calls the
last/first item and right after calls the prev/next one, therefore it
shows the wrong data. I understand why it needs to call its neighbour
items but is it not supposed to call the position where you actually
stopped as last?

Thanks,
Alberto

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] GalleryView Bug???

2010-10-01 Thread Albert
Hi all,

I have implemented a GalleryView using a custom BaseAdapter. The issue
is that when the gallery reaches either end, the getView() calls the
last/first item and right after calls the prev/next one, therefore it
shows the wrong data. I understand why it needs to call its neighbour
items but is it not supposed to call the position where you actually
stopped as last?

Thanks,
Alberto

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en