Win a copy of Mastering Non-Functional Requirements this week in the Design forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Handler... BG thread to UI thread  RSS feed

 
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.
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!