Navigation: Live Q&A - MAD Skills

10 942
12.7
Опубликовано 1 июля 2021, 17:59
Welcome to the second live Q&A of the Navigation series for MAD Skills, hosted by Android Developer Relations Engineer Florina Muntenescu. This time, Florina is joined by Murat Yener and Ian Lake to answer your Navigation questions!

Chapters:
0:00 - Introduction
0:45 - Best way to use Navigation components in a modularized app?
•📖 → goo.gle/36btl2V
•🎥 → goo.gle/3hw9osR
2:12 - Will multiple backstacks work the same for fragments and compose and become standard?
•🎥 → goo.gle/3dDcPx3
•📖 → goo.gle/2SHbbD4
6:00 - 1. What's the best way to know if a Fragment is in the backstack ? 2. Is there any way to clear full backstack no matter where we are?
•📖 → goo.gle/3yjnnZQ
•🎥 → goo.gle/3yjmlwY
9:41 - How to use the Navigation component to load resources at app start? Should this be considered the same as conditional navigation like login for example?
•👩🏽‍💻 Jetpack Core-Splashscreen → goo.gle/3yjojxm
11:22 - Which one to use? Navigation / MVVM / MVI?
12:14 - What is the best way to use a bottom nav within a single activity and ensure that all other fragments take full length ?
13:41 - Is it recommended to only use one Activity, or does it make sense to have one Activity for each "use-case" e.g. create-profile, tutorial, order process and so on?
16:20 - Is there a plan to support shared element transition with navigation in Compose?
19:05 - What's the best way to send a result back while navigating up?
20:45 - How to construct a back stack while navigating from one destination to another ? Is navigate by Uri the only way?
23:05 - How to use navigation with dynamics features?
•📖 → goo.gle/2SHdCWe
24:20 - ​Is there a way to send objects between screens (Composables) using Navigation in Compose?
26:35 - What's the reason for Compose navigation library to not supportin passing Parcelable as a navigation destination argument?
27:24 - Can you please talk a little about the new routes navigation and about passing custom parameters outside routes like parcelables?
29:00 - How to integrate deep links with Navigation?
•📖 → goo.gle/3jQHBGH
30:49 - Is it advised to have different ViewModels for different fragments in the navigation component? If not, what is the solution?
32:45 - Can we use a ViewModel for each composable?
34:06 - When will Jetpack Compose be stable?
35:13 - Best practices to write test cases around navigation?
•📖 Test Navigation → goo.gle/3yw97NN
38:57 - Is there any advice on the size of each navigation graph, such as the depth or the number of fragments?
42:20 - Nested nav graphs give features like scoped ViewModels, for example for a feature, but how to navigate to a specific destination in a nested nav graph with safe arguments?
44:11 - Does nav graph work with Compose and Fragments together?
46:44 - How to reuse fragments in different navigation graphs?
48:06 - Can the Navigation component be used with both Activity and Fragments?
50:47 - Can you please explain popbackstack() vs navigate up?

Resources:
📖 Principles of Navigation → goo.gle/3yjnnZQ
📖 Navigating with Compose → goo.gle/2SHbbD4
🎥Navigating navigation → goo.gle/3yjmlwY
🎥Using Jetpack libraries in Compose | Session → goo.gle/2UoLHuY
👩🏽‍💻 Navigation Samples → goo.gle/3hw821f
👩🏽‍💻 Compose Samples → goo.gle/3weFvmq

​Catch more on Navigation for MAD Skills → goo.gle/more-navigation

Watch more MAD Skills episodes → goo.gle/madskills
Subscribe to Android Developers → goo.gle/AndroidDevs

#Featured #Navigation #MADSkills

product: Android - Design, Android - Form Factors, Android - Platform; fullname: Florina Muntenescu, Ian Lake, Murat Yener; re_ty: Livestream;
Случайные видео
57 дней – 8 0433:47
AnchoredDraggable | Compose Tips
29.11.22 – 24 2695:57
What is Document AI Workbench?
16.09.22 – 6 134 48713:27
iPhone 14 Review: Repackaging 101!
22.05.20 – 3 272 2911:01
Meet Janelle
автотехномузыкадетское