Recently learning Android, there is a Handler class in android which is very useful. We can “post” runnable object to the end of another thread, something like queue, it is very dynamic in that case. Anyone know any similar class in Java SE that is able to do that?
Recently learning Android, there is a Handler class in android which is very useful.
Share
JavaSwinghasSwingUtilities.invokeLater()that takes a Runnable as paramter. That’s one way to post something on the UI Thead