views:

172

answers:

1

Hi,

I would like to after I have updated by listAdapter I want to make sure that the list is scrolled all the way to the bottom so that it displays the last element entered in the list How can I do this ?

I tried this but no luck

lv.setTranscriptMode(ListView.TRANSCRIPT_MODE_ALWAYS_SCROLL);

thank you

A: 

The transcript mode is what you want and is used by Google Talk and the SMS/MMS application. Are you correctly calling notifyDatasetChanged() on your adapter when you add items?

Romain Guy
yes I am. the list correctly gets updated, but always start from the top. I just need it to add the new item and always scroll to the end of the list.
jramirez