मुख्य सामग्री पर जाएँ
Skillpedia
मोबाइल ऐप10k · #11924

navigation-3

यह क्या करती है

यह स्किल Jetpack Navigation 3, यानी Android की नई navigation लाइब्रेरी, इंस्टॉल करने और उसमें माइग्रेट करने का मार्गदर्शन देती है। इसमें deep links, कई back stacks और bottom sheets जैसे पैटर्न भी शामिल हैं। यह उन Android डेवलपरों के लिए है जो Navigation 3 पर जा रहे हैं या उससे बना रहे हैं।

कब इस्तेमाल करें

  • ✓जब आप Android ऐप को Navigation 2 से Navigation 3 पर माइग्रेट करना चाहते हैं।
  • ✓जब आपको कई back stacks चाहिए, जैसे अलग इतिहास वाले अलग टैब।
  • ✓जब आप चाहते हैं कि deep links, डायलॉग या bottom sheets navigation के ज़रिए संभले जाएँ।

Skill का लिंक

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

इसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।

कैसे इस्तेमाल करें

सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।

पेस्ट करने के लिए तैयार मैसेज

इस skill से मेरी मदद करो: https://github.com/android/skills/blob/main/navigation/navigation-3/SKILL.md इस लिंक की SKILL.md फ़ाइल पढ़ो और मेरे काम में उसके निर्देशों का पालन करो।
क्या आप चाहते हैं कि आपका AI ऐसी skills खुद ढूँढे?मुफ़्त Skillpedia MCP इंस्टॉल करें: बस एक लाइन, और हर काम से पहले यह 15,000+ skills में खोजता है।1 मिनट में इंस्टॉल करें →

AI से क्या माँगें: उदाहरण

“मेरे Android ऐप को Navigation 2 से Navigation 3 पर ले जाइए और वही स्क्रीन काम करती रहें।”

हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।

यह कैसे काम करती है

स्किल माइग्रेशन गाइड का पालन करती है, जिसमें dependency अपडेट, route बदलाव और state संभालना शामिल है। फिर वह deep links, scenes और फ़्लो से लौटे नतीजों जैसे पैटर्न सेट करने का तरीका दिखाती है।

तकनीकी सामग्री (मूल 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

अक्सर पूछे जाने वाले सवाल

क्या यह string routes से माइग्रेट करने को कवर करती है?

हाँ। माइग्रेशन के हिस्से के रूप में यह Compose में type-safe navigation पर जाने के लिए एक गाइड की ओर इशारा करती है।

क्या यह साइन-इन और साइन-आउट फ़्लो में मदद करती है?

हाँ। यह शर्त-आधारित navigation कवर करती है, जैसे लॉग-इन और अनाम उपयोगकर्ताओं के लिए अलग स्क्रीन।

क्या इसमें 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
अपडेट की गई
29/10/2026

क्या यह skill काम की है?

0

लॉग इन करें वोट करने के लिए।

कमेंट

  • …

इस repository की और skills

agp-9-upgrade

10k

आपके एजेंट को Android ऐप को Android Gradle Plugin 9 पर ले जाने और उसके breaking changes सुधारने में मदद करती है। मल्टीप्लेटफ़ॉर्म प्रोजेक्ट के लिए नहीं।

कोडिंगमोबाइल ऐप

camerax

10k

आपके एजेंट को CameraX से Android कैमरा फ़ीचर बनाने में मदद करती है, जिसमें वीडियो रिकॉर्डिंग, हार्डवेयर कंट्रोल, ML Kit और Media3 इफ़ेक्ट शामिल हैं।

कोडिंगमोबाइल ऐप

android-for-cars-parked-apps

10k

आपके एजेंट को Android वीडियो, गेम या ब्राउज़र ऐप को Android Auto और Android Automotive पर parked ऐप के रूप में चलाने के लिए ढालने में मदद करती है।

कोडिंगमोबाइल ऐप

appfunctions

10k

आपके एजेंट को Android ऐप के मुख्य काम ढूँढकर उन्हें AppFunctions के रूप में देने में मदद करती है, ताकि AI एजेंट और वॉइस कमांड उन्हें चला सकें।

AI और एजेंटएजेंट

मिलती-जुलती skills