The range of 'position' is within [0, getCount()-1], but the *order*
is not sequential.
I.e. if 'getView' is called for the Nth time, the value of 'position'
is not necessarily N-1.
Or if the user scrolls down to the last element, the last call to
'getView' does not necessarily have its 'position' parameter set to
N-1.


On Aug 18, 6:44 pm, Mark Murphy <[email protected]> wrote:
> Streets Of Boston wrote:
> > In other words, the statement "if
> > position is the last item in the list then the user is at the bottom
> > of the list" is not guaranteed to be always true.
>
> I'm fairly certain that the value of position will be within the range
> of [0,getCount()-1], and that it means you are to return a View
> representing the position-th item in your data set.
>
> I really get the sense I'm misinterpreting your claim...
>
> --
> Mark Murphy (a Commons 
> Guy)http://commonsware.com|http://twitter.com/commonsguy
>
> Android App Developer Books:http://commonsware.com/books.html
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to