Rahul Kalidindi
Rahul Kalidindi

Reputation: 4736

How to maintain the list view to display last row

I have a list view and i am setting list adapter every time some text is being sent.

My problem is, when a new message is populated in the list view, it shows the messages from the first.I want to make the list view to display last message when a new item is added to the list.

Please help me fix this.

Upvotes: 4

Views: 1055

Answers (1)

Ravi Vyas
Ravi Vyas

Reputation: 12375

Try using android:stackFromBottom

Upvotes: 6

Related Questions