android - Google Map on click of back button going to blank screen -


i have implemented google map in app. problem whenever click on button going blank page. referred few links find needful . have implemented following code in java file dint find useful.

 public void ondestroy() {        // gmap = null;         super.ondestroy();     } 

try putting following in activity.

@override public void onbackpressed() {     finish(); } 

Comments

Popular posts from this blog

python - pip install -U PySide error -

arrays - C++ error: a brace-enclosed initializer is not allowed here before ‘{’ token -

cytoscape.js - How to add nodes to Dagre layout with Cytoscape -