Skip to content Skip to sidebar Skip to footer

List View Only Updates After I Have Tapped On The List View

My listview only update if I drag it up or tapped it till its not getting update with new values. public void additem(final String name,final String mess) { runOnUiThread(new R

Solution 1:

Its because of the transcriptMode set.

android:transcriptMode

Sets the transcript mode for the list. In transcript mode, the list scrolls to the bottom to make new items visible when they are added.

Remove transcriptMode or set it to disabled as a solution for your problem.

Please Refere : http://developer.android.com/reference/android/widget/AbsListView.html#attr_android:transcriptMode

Post a Comment for "List View Only Updates After I Have Tapped On The List View"