Skip to content

Android. Child component with fragment factory #844

Answered by arkivanov
Ilya193 asked this question in Q&A
Discussion options

You must be logged in to vote

I think it's not good to mix Decompose and Fragment navigation. If you are using fragments, you can create each child component independently as a root, using defaultComponentContext() function of that Fragment.

Permanent child components created via childContext() can't be destroyed.

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@Ilya193
Comment options

@arkivanov
Comment options

Answer selected by Ilya193
@Ilya193
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #843 on January 20, 2025 09:02.