On Fri, Feb 12, 2016 at 1:37 AM, Ashish John <[email protected]> wrote:

> How to shift list view item to downwards once viewed.
> For eg. my ListView have data 1,2,3,4,5,6,7,8,9,10. & at a time 2 item are
> visible.
> User visits 1,2,3 & 4
> Now, I want to update the list item as 5,6,7,8,9,10,1,2,3,4 so that user
> may get the rest of the data first.
>

Simply rearrange the items in the adapter backing the listview per your
business logic requirements, then call notifyDataSetChanged() on the
adapter.

-------------------------------------------------------------------------------------------------
TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago
transit tracking app for Android-powered devices

-- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/android-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-developers/CANCScgi1ASKgasHkqvWZNeAjtKz07wHGgXNRvzVutANr%3DNes1A%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to