数据分析与咨询
#ai
navigation-3
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.
DeepseekModel
官方收录技能
质量 优秀 · 90
v1.0.0
获取
https://deepseekmodel.com/api/download.php?id=android-skills-navigation-navigation-3-skill-md&format=skill
下载 .skill
标准格式,含 system_prompt 与 model_config,导入任意 Agent 框架即可使用
.skill 文件中 system_prompt 字段的实际内容。
name navigation-3 description 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. license Complete terms in LICENSE.txt metadata {"author":"Google LLC","last-updated":"2026-09-01","keywords":["recipe","Android","Navigation 2","Navigation 3","migration","Compose","guide","dependencies","NavKey","NavHost","NavDisplay","BottomSheet","list-detail","scenes","two-pane","supporting pane","multiple backstacks","dialog","Hilt","ViewModel","View interop."]} 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 Guide: Migrate to type-safe navigation in Compose : Step-by-step guide to migrating an Android application from string-based navigation to Type-Safe Navigation in Jetpack Compose using Jetpack Navigation 2. 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 Basic : Shows most basic API usage. Saveable back stack : Shows basic API usage with a persistent back stack. Entry provider DSL : Shows basic API usage using the entryProvider DSL. 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 Static URI : Shows how to handle simple static URI deep links. URI with Arguments : Shows how to parse path and query arguments from a deep link. Synthetic BackStack : Shows how to handle deep links with a synthetic back stack. Custom Matcher : Shows how to implement custom deep link matching logic. 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 Conditional navigation : Switch to a different navigation flow when a condition is met. For example, for authentication or first-time user onboarding. Lifecycle Lifecycle Owner : Shows how to use and observe Lifecycle in Navigation 3. Architecture Modularized navigation code (Hilt) : Demonstrates how to decouple navigation code into separate modules using Hilt or Dagger for DI. Modularized navigation code (Koin) : Demonstrates how to decouple navigation code into separate modules using Koin for DI. Working with ViewModel Passing navigation arguments Basic ViewModel : Navigation arguments are passed to a ViewModel constructed using viewModel() Returning results Returning Results as Events : Returning results as events to content in another NavEntry Returning Results as State : Returning results as state stored in a CompositionLocal
Agent 识别该技能的关键词,点击任意一个即可复制。
该技能未提供触发词。
下载的 .skill 包内含以下字段。
| 字段 | 说明 |
|---|---|
| format | 格式标识(skill/v1) |
| skill_id | 技能唯一 ID |
| name | 技能名称 |
| version | 版本号 |
| description | 技能描述 |
| category | 所属分类(数组) |
| trigger_words | 触发词列表 |
| tags | 标签列表 |
| source | 来源标识 |
| source_url | 来源链接(本页地址) |
| exported_at | 导出时间(每次下载生成) |
| system_prompt | 系统提示词正文 |
| model_config | 模型参数:provider / model / temperature / max_tokens / top_p |
| examples | 示例 |
| install_guide | 各平台导入说明(Coze / Dify / Claude / 自定义框架) |