John O'Reilly
07/08/2020, 5:08 PMAndroidView
to contain a layout that in turn contains a com.google.android.gms.maps.SupportMapFragment
. It works fine if that's only screen but just added some navigation and when I show another screen and then come back to this one again I'm getting following. Is there any recommended approach available right now to work around this?
Binary XML file line #6: Duplicate id 0x7f08009a, tag null, or parent id 0xffffffff with another fragment for com.google.android.gms.maps.SupportMapFragment
Leland Richardson [G]
07/08/2020, 5:52 PMJohn O'Reilly
07/08/2020, 7:14 PMJohn O'Reilly
07/08/2020, 7:35 PMIan Lake
07/09/2020, 12:49 AM<fragment>
tag, use FragmentContainerView
John O'Reilly
07/09/2020, 8:25 AMFragmentContainerView
....it doesn't crash now when I show that "screen" again but just does't render mapIan Lake
07/09/2020, 1:34 PMAndroidView
is no longer in the composition) doesn't do anything to the FragmentManager's state - the Fragment would still be in the resumed state, trucking along. Same is true in the non-Compose worldIan Lake
07/09/2020, 1:36 PMMahdi
11/05/2020, 2:46 AMAndroidView(resId = R.layout.map_layout, modifier = Modifier.weight(0.4f)) {
John O'Reilly
11/05/2020, 8:23 AMMahdi
11/05/2020, 9:54 AMJohn O'Reilly
11/05/2020, 9:56 AM