title: Android Java Google Maps, need to check if map is loaded fully before executing dialog
body: <p>I'm trying to figure out if the map is loaded before I open a dialog on the MainActivity (with map fragment) it would be helpful if there was a</p>
  
  <pre><code>if(map.isLoaded()){
      //show dialog
  } 
  </code></pre>
  
  <p>if I just normally open a dialog after the map is already loaded, then it opens fine, but I'm switching activities and I wanted the dialog to open as soon as the activity starts but it seems as if the dialog is beating the loading map, then through the process of it loading, the dialog goes away and the map comes up. I've seen things about javascript and theres something regarding tilesLoaded() but I'm not seeing anything like that either. Any suggestions?? </p>