-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. Weβll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature/tgyuu/#130 #132
Feature/tgyuu/#130 #132
Conversation
β¦Check νμ΄μ§λ‘ λμκ°λλ‘ λ³κ²½
κΊΌμ΄μ΅ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
νκ·μ μκ³ νμ ¨μ΄μ π
μ½λλ 컀λ°λ΄μμ΄λ μ νλ² μ½μ΄λ΄€λλ°, νλμ κΈ°λ₯μ λν κ²λ€μ΄λΌ μ½λ©νΈλ λ°λ‘ μλ¨κ²Όμ΄μ
μ½μ½ κΈ°λ€λ¦΄κ²μ γ γ
navigateToSurveyDetail = { surveyId -> | ||
navController.navigateToSurveyDetail( | ||
surveyId = surveyId, | ||
backStack = SurveyDetailBackStack.PROFILE, | ||
navOptions = navOptions { popUpTo(profileNavigationRoute) }, | ||
) | ||
}, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
νκ·μ Compose Navigationμμ μλ λ°±μ€ν κ΄λ¦¬λ₯Ό μΈμλ‘ μ λ¬ν΄μ ꡬνν΄μΌ νλμ?
κΈ°μ‘΄ Xmlμμλ popBackStack()μ΄λΌλ λ©μλκ° μμ΄μ, μ΄μ νλ‘μ νΈμμ ν΄λΉ λ©μλλ₯Ό μ¬μ©νμμ΄μ
μλ§ μ€λ¬Έ μλ΅μ κ²½μ° λ§κ³ λ λ°±μ€νκ΄λ¦¬λ₯Ό ν΄μ€μΌνλ μν©μ΄ λ°λμ μ°Ύμμ¬ν
λ°,
κ·Έλ΄ λλ§λ€ μ΄μ μ»΄ν¬μ λΈμ μΈμλ‘ μ λ¬νκ³ -> νμ¬ μ»΄ν¬μ λΈμμ λ°±μ€νμ μ μ₯νκ³ -> μ΄μ λ²νΌμ λλ₯Όλ λ°±μ€νμ κΊΌλ΄μ λ€μ μ ν μΈμλ‘ λ겨주λκ² λ²κ±°λ‘μ΄ κ³Όμ μ΄ λ μλ μμ κ² κ°μμμ π
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ν μκ°ν΄λ³΄λ κ·Έλ¬λ€μ.
μ°Ύμ보λ μλ μ²λΌ popBackStackμ΄ μκΈ΄ νλ€μ.
κ·Όλ° μ΄μ§νΌ main NavHostμμ λλ€ νλΌλ―Έν°λ‘ νλ νλ μ© λ€ λ£μ΄μ€μΌ ν΄μ
κΈ°λ₯μ΄λ ꡬννλ λ°μλ λΉμ·ν κ² κ°μμ.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
μ΄μ Xmlμμλ λ°λ‘ μΈμ μμ΄ λ°λ‘ κ°μ₯ μμμλ μ€ν λ½μ쀬λλ°
Composeλ λ°λ‘ λΌμ°νΈλ₯Ό λκ²¨μΌ λλ€μ
κ·ΈλΌ κ²°κ΅ κ°μ λ‘μ§μ΄κ² λ€μ μ’μ΅λλ€
1. π κ΄λ ¨λ μ΄μ λ° μκ°
closed #130
2. π₯ λ³κ²½λ μ
-νλ‘ν νμ΄μ§μμλ λ΄κ° μμ±ν μ€λ¬Έμ νμΈν μ μλλ‘ λ³κ²½
3. β κΌ νμΈν΄μ€¬μΌλ©΄ νλ λΆλΆ
4. πΈ μ€ν¬λ¦°μ·(μ ν)
5. π‘μκ²λ νΉμ κΆκΈν μ¬νλ€