Doesn't matter, what adapter he is using. you can always add the individual items before calling the SetAdapter.
Warm Regards, *Mukesh Kumar*, Android Consultant/Freelancer, India,Hyderabad. On Wed, Nov 30, 2011 at 2:32 PM, skink <[email protected]> wrote: > > > B.Arunkumar wrote: > > Hi, > > > > I have a question regarding listview. This is the requirement: > > > > 1. When a first element is added to the listview, the background of > > the row should be black. After 1 minute, the background of the row > > should become blue (which I do it a separate thread). > > > > 2. A second row should be added to the listview at the top of row1 and > > it should be black. After 1 minute, it should turn blue in a similar > > way. > > > > Now, whatever I do, the 2nd element is getting added to the bottom of > > the listview and the 1st row remains blue and the 2nd row remains > > black. How can I add rows to the top of the listview with this > > requirement? > > > > Thank you, > > B.Arunkumar > > what Adapter are you using? > > pskink > > -- > 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

