[android-developers] Network operation every half sec.
Hi,
I want to make network operation in every half sec and depending on data, i want to update the ListView continuously.
Following is my approach: Using thread and handler.postDelayed
, it makes the network request every sec and update only those views of the row in ListView
which needs to be updated. It does not update ListView
using notifyDatasetChanged()
.
Though it updates the UI, but it takes time in updating the UI. Is it because, I am using emulator?
Is this the right approach for this scenario? Any other best approach for this?
Anyone handled such scenarios previously?
Thanks in advance.
Regards,
Mahavir Jain
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home