Fragment in a composable

  Kiến thức lập trình

I want to use a third party fragment in my jetpack compose app but the google document on the same topic is very limited moreover most of the article on interop either covers a bottom-up approach or interop navigation.So could anyone mention some examples or resources. it would be better if it is more detailed which covers managing it’s state and how to handle listeners that it’s factory parameter expects like should my viewmodel implement them or i can create screen level holders scoped to that composable hosting the fragment

i trying searching google document but there wasn’t much mentioned about how to deal with this situation moreover i found this new AndroidFragment composable but it expects bundle for parameters creating a seperate fragment that takes bundle initialize the required fragment seems a lot i don’t know what’s the right way

Theme wordpress giá rẻ Theme wordpress giá rẻ Thiết kế website

LEAVE A COMMENT