multithreading - How to check if callback is executed in GUI Thread: Android -
this question has answer here:
i have application in receieve callbacks native layer , based on these callbacks update list ui on screen.
how check of callbacks being executed in ui thread or in separate thread?
simple way see thread ui on http://docs.oracle.com/javase/6/docs/api/java/lang/thread.html#currentthread() check again later in callback.
Comments
Post a Comment