본문으로 건너뛰기
Skillpedia
모바일 앱10k · #11924

navigation-3

하는 일

이 스킬은 Android의 새 내비게이션 라이브러리인 Jetpack Navigation 3를 설치하고 옮기는 방법을 안내합니다. 딥 링크, 여러 백 스택, 바텀 시트 같은 패턴도 다룹니다. Navigation 3로 옮기거나 새로 만드는 Android 개발자를 위한 스킬입니다.

사용하는 경우

  • ✓Android 앱을 Navigation 2에서 Navigation 3로 옮기고 싶을 때.
  • ✓탭마다 별도의 기록을 가진 여러 백 스택이 필요할 때.
  • ✓딥 링크, 대화상자, 바텀 시트를 내비게이션으로 처리하고 싶을 때.

스킬 링크

https://github.com/android/skills/blob/main/navigation/navigation-3/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/android/skills/blob/main/navigation/navigation-3/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“내 Android 앱을 Navigation 2에서 Navigation 3로 옮기고, 같은 화면이 계속 작동하게 해 주세요.”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

이 스킬은 마이그레이션 가이드를 따라 의존성 업데이트, 경로 변경, 상태 처리를 다룹니다. 그다음 딥 링크, 장면(scene), 흐름에서 돌아오는 결과 같은 패턴을 설정하는 방법을 보여 줍니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.


Migration guide

  • Navigation 2 to Navigation 3 migration guide: Step-by-step guide to migrate an Android application from Navigation 2 to Navigation 3, covering dependency updates, route changes, state management, and UI component replacements.

Requirements

Developer documentation

  • Navigation 3. Search documentation for more information on basics, saving and managing navigation state, modularizing navigation code, creating custom layouts using Scenes, animating between destinations, or applying logic or wrappers to destinations.

Recipes

Code examples showcasing common patterns.

Basic API usage

Common UI

  • Common UI: Demonstrates how to implement a common navigation UI pattern with a bottom navigation bar and multiple back stacks, where each tab in the navigation bar has its own navigation history.

Deep links

Scenes

Use built-in Scenes

  • Dialog: Shows how to create a Dialog.

Create custom Scenes

  • BottomSheet: Shows how to create a BottomSheet destination.
  • List-Detail Scene: Demonstrates how to implement adaptive list-detail layouts using the Navigation 3 Scenes API.
  • Two pane Scene: Demonstrates how to implement adaptive two-pane layouts using the Navigation 3 Scenes API.

Material Adaptive

  • Material List-Detail: Demonstrates how to implement an adaptive list-detail layout using Material 3 Adaptive.
  • Material Supporting Pane: Demonstrates how to implement an adaptive supporting pane layout using Material 3 Adaptive.

Animations

  • Animations: Shows how to override the default animations for all destinations and a single destination.
  • Conditional Transitions: Shows how to implement conditional transition animations.

Common back stack behavior

  • Multiple back stacks: Shows how to create multiple top level routes, each with its own back stack. Top level routes are displayed in a navigation bar allowing users to switch between them. State is retained for each top level route, and the navigation state persists config changes and process death.

Conditional navigation

자주 묻는 질문

문자열 경로에서 옮기는 것도 다루나요?

네. 마이그레이션의 일부로 Compose에서 타입 안전 내비게이션으로 옮기는 가이드를 안내합니다.

로그인과 로그아웃 흐름도 도와주나요?

네. 로그인한 사용자와 익명 사용자에게 다른 화면을 보여 주는 조건부 내비게이션을 다룹니다.

Hilt와 ViewModel도 다루나요?

네. Hilt, ViewModel, Kotlin과의 연동을 포함합니다.

상세 정보

작성자의 원본 설명

Learn how to install and migrate to Jetpack Navigation 3, and how to implement features and patterns such as deep links, multiple backstacks, scenes (dialogs, bottom sheets, list-detail, two-pane, supporting pane), conditional navigation (such as logged-in navigation versus anonymous), returning results from flows, integration with Hilt, ViewModel, Kotlin, and view interoperability.

repo: android/skills

인기도

GitHub 스타
10k
순위
#11924
라이선스
Apache-2.0
업데이트
2026. 10. 29.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬