[android] update lifecycle documentation for fragments (#10736)

This commit is contained in:
Antonio Zugaldia
2017-12-19 10:32:01 -05:00
committed by GitHub
parent 752069d2e2
commit 28a42b925a

View File

@@ -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() {