I have the following problem. I draw a route on a map in a separate stream as follows:
public void drawRoute(final MapView mapView) { new Thread(new Runnable() { public void run() { try {
But when I get the handler, it returns null, although in debug mode the handler returns and an error message appears. What is the problem?
PS Maybe this is the wrong way to get a handler, but I could not find information about this.
Bracadabra
source share