Note that there are some explanatory texts on larger screens.

plurals
  1. POAndroid - Remove Google Maps Fragment onPause and add back onResume
    primarykey
    data
    text
    <p>I need to remove Google map fragment on Activity onPause event and add it back onResume event. How can i do this ?</p> <pre><code>&lt;RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_height="match_parent" android:id="@+id/mapContainer" tools:context=".MainActivity" &gt; &lt;fragment xmlns:android="http://schemas.android.com/apk/res/android" android:id="@+id/map" android:layout_width="match_parent" android:layout_height="match_parent" class="com.google.android.gms.maps.SupportMapFragment"/&gt; &lt;/RelativeLayout&gt; </code></pre> <p><strong>Accordingly to this <a href="https://stackoverflow.com/questions/14827949/android-back-button-very-slow">Back button very slow</a></strong></p> <p><strong>Need it for <a href="https://stackoverflow.com/questions/16262328/android-performance-issue-tabhost-timer-setcurrenttab-google-maps-api-v">Android Performance Issue- TabHost - Timer - SetCurrentTab() - Google Maps Api V2</a></strong></p> <p><strong>Edit :</strong> </p> <p><strong>Actually I did it. But still got a delay problem. How can i stop/close intents at back stack?</strong></p> <p><strong>Edit :</strong> </p> <p><strong>Also i'm now trying to remove and add back fragment please see this -> <a href="https://stackoverflow.com/questions/16275349/android-add-supportfragment-and-get-it-back-from-its-tag-null">https://stackoverflow.com/questions/16275349/android-add-supportfragment-and-get-it-back-from-its-tag-null</a></strong></p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload