Priyank
06/29/2022, 9:32 AMCannot locate windowRecomposer; View androidx.compose.ui.platform.ComposeView{e560fcf V.E...... ......I. 0,0-0,0} is not attached to a window
clusterManager?.markerCollection?.setInfoWindowAdapter(object : InfoWindowAdapter {
override fun getInfoContents(p0: Marker): View? {
return null
}
override fun getInfoWindow(p0: Marker): View {
val composeView = ComposeView(context).apply {
setContent {
Text("Hello World")
}
}
return composeView
}
})
So is there any way to use the compose function inside getInfoWindow()?