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 @UiThread public class LegacyMapFragment extends android.app.Fragment
Deprecated.MapFragment
를 사용하세요.지도를 출력하는 프래그먼트 클래스. 화면에 이 프래그먼트를 추가하고getMapAsync(OnMapReadyCallback)
를 호출해 콜백을 등록하면NaverMap
인스턴스를 얻을 수 있습니다.MapFragment
와 달리 안드로이드 플랫폼의 프래그먼트를 사용합니다.
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
ARGUMENT_KEY_OPTIONS
Deprecated.static java.lang.String
STATE_MAP_VIEW
Deprecated.
-
Constructor Summary
Constructors Constructor Description LegacyMapFragment()
Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description void
getMapAsync(OnMapReadyCallback callback)
Deprecated.비동기로NaverMap
객체를 얻어옵니다.MapView
getMapView()
Deprecated.이 프래그먼트가 갖고 있는MapView
를 반환합니다.static LegacyMapFragment
newInstance()
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
onDestroyView()
Deprecated.void
onInflate(android.app.Activity activity, android.util.AttributeSet attrs, android.os.Bundle savedInstanceState)
Deprecated.void
onLowMemory()
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 Detail
-
ARGUMENT_KEY_OPTIONS
public static final java.lang.String ARGUMENT_KEY_OPTIONS
Deprecated.- See Also:
- Constant Field Values
-
STATE_MAP_VIEW
public static final java.lang.String STATE_MAP_VIEW
Deprecated.- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
public static LegacyMapFragment newInstance()
Deprecated.새로운 인스턴스를 생성합니다.- Returns:
LegacyMapFragment
인스턴스.
-
newInstance
public static LegacyMapFragment newInstance(@Nullable NaverMapOptions options)
Deprecated.주어진options
를 사용해 새로운 인스턴스를 생성합니다.- Parameters:
options
- 지도 옵션.- 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
-
getMapAsync
public void getMapAsync(@NonNull OnMapReadyCallback callback)
Deprecated.비동기로NaverMap
객체를 얻어옵니다.NaverMap
객체가 준비되면callback
의OnMapReadyCallback.onMapReady(NaverMap)
가 호출됩니다.- Parameters:
callback
- 콜백.
-
-