Package com.naver.maps.map
Class LegacyMapFragment
java.lang.Object
android.app.Fragment
com.naver.maps.map.LegacyMapFragment
- All Implemented Interfaces:
android.content.ComponentCallbacks
,android.content.ComponentCallbacks2
,android.view.View.OnCreateContextMenuListener
Deprecated.
지도를 출력하는 프래그먼트 클래스. 화면에 이 프래그먼트를 추가하고
getMapAsync(OnMapReadyCallback)
를 호출해
콜백을 등록하면 NaverMap
인스턴스를 얻을 수 있습니다. MapFragment
와 달리 안드로이드 플랫폼의
프래그먼트를 사용합니다.-
Nested Class Summary
Nested classes/interfaces inherited from class android.app.Fragment
android.app.Fragment.InstantiationException, android.app.Fragment.SavedState
-
Field Summary
Fields inherited from interface android.content.ComponentCallbacks2
TRIM_MEMORY_BACKGROUND, TRIM_MEMORY_COMPLETE, TRIM_MEMORY_MODERATE, TRIM_MEMORY_RUNNING_CRITICAL, TRIM_MEMORY_RUNNING_LOW, TRIM_MEMORY_RUNNING_MODERATE, TRIM_MEMORY_UI_HIDDEN
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
getMapAsync
(OnMapReadyCallback callback) Deprecated.비동기로NaverMap
객체를 얻어옵니다.Deprecated.이 프래그먼트가 갖고 있는MapView
를 반환합니다.static LegacyMapFragment
Deprecated.새로운 인스턴스를 생성합니다.static LegacyMapFragment
newInstance
(NaverMapOptions options) Deprecated.주어진options
를 사용해 새로운 인스턴스를 생성합니다.android.view.View
onCreateView
(android.view.LayoutInflater inflater, android.view.ViewGroup container, android.os.Bundle savedInstanceState) Deprecated.void
Deprecated.void
onInflate
(android.app.Activity activity, android.util.AttributeSet attrs, android.os.Bundle savedInstanceState) Deprecated.void
Deprecated.void
onPause()
Deprecated.void
onResume()
Deprecated.void
onSaveInstanceState
(android.os.Bundle outState) Deprecated.void
onStart()
Deprecated.void
onStop()
Deprecated.void
onViewCreated
(android.view.View view, android.os.Bundle savedInstanceState) Deprecated.Methods inherited from class android.app.Fragment
dump, equals, getActivity, getAllowEnterTransitionOverlap, getAllowReturnTransitionOverlap, getArguments, getChildFragmentManager, getContext, getEnterTransition, getExitTransition, getFragmentManager, getHost, getId, getLayoutInflater, getLoaderManager, getParentFragment, getReenterTransition, getResources, getRetainInstance, getReturnTransition, getSharedElementEnterTransition, getSharedElementReturnTransition, getString, getString, getTag, getTargetFragment, getTargetRequestCode, getText, getUserVisibleHint, getView, hashCode, instantiate, instantiate, isAdded, isDetached, isHidden, isInLayout, isRemoving, isResumed, isStateSaved, isVisible, onActivityCreated, onActivityResult, onAttach, onAttach, onAttachFragment, onConfigurationChanged, onContextItemSelected, onCreate, onCreateAnimator, onCreateContextMenu, onCreateOptionsMenu, onDestroy, onDestroyOptionsMenu, onDetach, onGetLayoutInflater, onHiddenChanged, onInflate, onInflate, onMultiWindowModeChanged, onMultiWindowModeChanged, onOptionsItemSelected, onOptionsMenuClosed, onPictureInPictureModeChanged, onPictureInPictureModeChanged, onPrepareOptionsMenu, onRequestPermissionsResult, onTrimMemory, onViewStateRestored, postponeEnterTransition, registerForContextMenu, requestPermissions, setAllowEnterTransitionOverlap, setAllowReturnTransitionOverlap, setArguments, setEnterSharedElementCallback, setEnterTransition, setExitSharedElementCallback, setExitTransition, setHasOptionsMenu, setInitialSavedState, setMenuVisibility, setReenterTransition, setRetainInstance, setReturnTransition, setSharedElementEnterTransition, setSharedElementReturnTransition, setTargetFragment, setUserVisibleHint, shouldShowRequestPermissionRationale, startActivity, startActivity, startActivityForResult, startActivityForResult, startIntentSenderForResult, startPostponedEnterTransition, toString, unregisterForContextMenu
-
Field Details
-
ARGUMENT_KEY_OPTIONS
Deprecated.- See Also:
-
STATE_MAP_VIEW
Deprecated.- See Also:
-
-
Constructor Details
-
LegacyMapFragment
public LegacyMapFragment()Deprecated.
-
-
Method Details
-
newInstance
Deprecated.새로운 인스턴스를 생성합니다.- Returns:
LegacyMapFragment
인스턴스.
-
onInflate
public void onInflate(android.app.Activity activity, android.util.AttributeSet attrs, android.os.Bundle savedInstanceState) Deprecated.- Overrides:
onInflate
in classandroid.app.Fragment
-
onCreateView
public android.view.View onCreateView(@NonNull android.view.LayoutInflater inflater, android.view.ViewGroup container, android.os.Bundle savedInstanceState) Deprecated.- Overrides:
onCreateView
in classandroid.app.Fragment
-
onViewCreated
public void onViewCreated(@NonNull android.view.View view, android.os.Bundle savedInstanceState) Deprecated.- Overrides:
onViewCreated
in classandroid.app.Fragment
-
onStart
public void onStart()Deprecated.- Overrides:
onStart
in classandroid.app.Fragment
-
onResume
public void onResume()Deprecated.- Overrides:
onResume
in classandroid.app.Fragment
-
onPause
public void onPause()Deprecated.- Overrides:
onPause
in classandroid.app.Fragment
-
onSaveInstanceState
public void onSaveInstanceState(@NonNull android.os.Bundle outState) Deprecated.- Overrides:
onSaveInstanceState
in classandroid.app.Fragment
-
onStop
public void onStop()Deprecated.- Overrides:
onStop
in classandroid.app.Fragment
-
onDestroyView
public void onDestroyView()Deprecated.- Overrides:
onDestroyView
in classandroid.app.Fragment
-
onLowMemory
public void onLowMemory()Deprecated.- Specified by:
onLowMemory
in interfaceandroid.content.ComponentCallbacks
- Overrides:
onLowMemory
in classandroid.app.Fragment
-
getMapView
Deprecated.- Returns:
MapView
인스턴스.
-
MapFragment
를 사용하세요.