Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Handler... BG thread to UI thread

 
UdayK Kumar
Greenhorn
Posts: 26
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Hi,

Can anyone help me to understand the below scenario.


My BG thread process the get results the ArrayList. The same values should send to UI(Main) thread. How to possible using Android Handler.

Means Sending ArrayList values from BG thread to UI thread.


Thanks
Uday
 
Hardik Trivedi
Ranch Hand
Posts: 252
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I havent used Handler.
But you can look for AsyncTask or runOnUiThread is also a good option.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic