summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntonio Zugaldia <antonio@mapbox.com>2017-12-18 14:47:25 -0500
committerAntonio Zugaldia <antonio@mapbox.com>2017-12-18 14:47:25 -0500
commit6c4347c8a56372cab4322db02a44f824e789149a (patch)
treed0974d2258aedccd9251bd6e1aaf0d8e5e71a3b9
parent04cbf346e9e0b1cfffc50b8dfd46b4a329fd1850 (diff)
downloadqtlocation-mapboxgl-upstream/az-ondestroy-docs.tar.gz
[android] update lifecycle documentation for fragmentsupstream/az-ondestroy-docs
-rw-r--r--platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/maps/MapView.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/maps/MapView.java b/platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/maps/MapView.java
index 11ec6eaaac..49318e277a 100644
--- a/platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/maps/MapView.java
+++ b/platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/maps/MapView.java
@@ -273,7 +273,7 @@ public class MapView extends FrameLayout {
/**
* <p>
* You must call this method from the parent's Activity#onCreate(Bundle)} or
- * Fragment#onCreate(Bundle).
+ * Fragment#onViewCreated(View, Bundle).
* </p>
* You must set a valid access token with {@link com.mapbox.mapboxsdk.Mapbox#getInstance(Context, String)}
* before you call this method or an exception will be thrown.
@@ -410,7 +410,7 @@ public class MapView extends FrameLayout {
}
/**
- * You must call this method from the parent's Activity#onDestroy() or Fragment#onDestroy().
+ * You must call this method from the parent's Activity#onDestroy() or Fragment#onDestroyView().
*/
@UiThread
public void onDestroy() {