I searched many places but could not find a complete working example of implementation of “runOnUiThread”. I tried a lot , but getting lots of errors .
I just want to display a toast from a thread.
I searched many places but could not find a complete working example of implementation
Share
So here is the final full code. Thanks to all who have replied.
And About the XML, its is the default XML file created. No change needed.