Update comment from onDestroy to onDestroyView (#10501)

Updated comment to reflect that MapView's lifecycle callback in a fragment should be called from onDestroyView rather than on onDestroy. This is consistent with that MapFragment is doing.
This commit is contained in:
Victor Akap Oben
2017-11-20 09:00:05 -06:00
committed by Tobrun
parent 131167e1d3
commit 1d78c04484

View File

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