For dynamic content on the bottom, you can:

- Override getView and check the item position (maybe not quite
religiously pure, but it works).

- Use an OnScrollListener to be notified of scroll state changes, wait
for SCROLL_STATE_IDLE and check what's visible

http://developer.android.com/reference/android/widget/AbsListView.html#setOnScrollListener(android.widget.AbsListView.OnScrollListener)

Or come up with something else, such as maybe subclassing the list
view, overriding onLayout and checking the last visible position after
calling super...

-- Kostya

15 декабря 2011 г. 19:11 пользователь Christian Eduardo Palomares
Peralta <[email protected]> написал:
> I've tried again with listview but i had some problems to load more items to
> the adapter.
>
> Now i'm adding the controls programmatically and i think it should work, but
> my only problem is detecting the scroll in the bottom to load more items :(.
>
> Thxs
>
> 2011/12/15 Kostya Vasilyev <[email protected]>
>>
>> That - I mean the right part - looks like some kind of custom adapter
>> view, maybe with view recycling (harder) maybe not (easier).
>>
>> 15.12.2011 12:02, Christian Eduardo Palomares Peralta пишет:
>>
>> BTW, i'm not talking about the first view in UI youtube tablet version, i
>> think that's a 3D carousel. I'm talking about the exploratory view (second
>> tab).
>>
>> 2011/12/14 Kostya Vasilyev <[email protected]>
>>>
>>> As far the as the 3D panoramic scrolling goes:
>>>
>>>
>>> http://android-developers.blogspot.com/2011/02/introducing-renderscript.html
>>>
>>> >>
>>> Renderscript has been used in the creation of the new visually-rich
>>> YouTube and Books apps.
>>> <<
>>>
>>> -- Kostya
>>>
>>> 15 декабря 2011 г. 2:57 пользователь Ali Chousein
>>> <[email protected]> написал:
>>> >
>>> > Mine is just a guess but YouTube might be using HTML5.
>>> >
>>> > -------------------------------------------------
>>> > Ali Chousein
>>> > Weather-Buddy
>>> > http://weatherbuddy.blogspot.com | http://twitter.com/weather_buddy
>>> > Geo-Filtered Assistant
>>> > http://geo-filtered-assistant.blogspot.com
>>> > https://marketplace.cisco.com/apphq/products/994
>>> >
>>> > --
>>> > 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
>>>
>>> --
>>> 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
>>
>>
>>
>>
>> --
>> Christian Eduardo Palomares Peralta (ShinjiDev) -
>> http://learningwebdev.blogspot.com
>> Administrador del Grupo Python-Perú
>> --
>> 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
>>
>>
>> --
>> Kostya Vasilyev
>>
>> --
>> 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
>
>
>
>
> --
> Christian Eduardo Palomares Peralta (ShinjiDev) -
> http://learningwebdev.blogspot.com
> Administrador del Grupo Python-Perú
>
> --
> 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

-- 
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