Guest User

Untitled

a guest
Sep 22nd, 2018
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.54 KB | None | 0 0
  1. //Toast section
  2. Toast.makeText(context, "Loading...", Toast.LENGTH_LONG).show();
  3. Log.wtf(TAG, "Game.run: Solo Thread run");
  4.  
  5. //Loop section
  6. while (true){
  7. Log.wtf(TAG, "Game.playRound: Waiting for source to fill...");
  8. try {
  9. Thread.sleep(2000);
  10. } catch (InterruptedException ignored) {}
  11. source = playlistManager.availablePlaylist;
  12. if (source != null) break;
  13. }
  14. Log.wtf(TAG, "Game.playRound: Source filled" + source);
  15. }
Add Comment
Please, Sign In to add comment