Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public Runnable mUpdate = new Runnable() {
- public void run() {
- while (true) {
- synchronized (this) {
- try {
- wait();
- } catch (InterruptedException e) {
- e.printStackTrace();
- }
- }
- runOnUiThread(new Runnable() {
- @Override
- public void run() {
- drawPlaces();
- }
- });
- }
- }
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement