On Jun 14, 2012, at 1:37 PM, Ethan Gao wrote: > Firstly, getCount() methods return 1, but the consequence getViewat() is > still trying to get view at position 1 and 2.
If getCount() returns 1, you shouldn't ask for getViewAt(index) where index >= 1. It's your responsibility to make sure you do not exceed getCount() limits (at least usually). -- H -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

