Chromecast Compose support :thread:
# compose-android
i
Chromecast Compose support đź§µ
Trying to add a chromecast
MiniControllerFragment
to compose view since I don’t have an activity layout, it doesn’t seem to work very well, the content above the mini controller lifts up and cut off. Could not find documentation on integrating Chromecast into compose view. Does anyone know if there is any documentation on this or if there is support for it?
j
Tested this? https://developer.android.com/jetpack/compose/migrate/interoperability-apis/views-in-compose#fragments-in-compose Host fragment in FragmentContainerView from media controller. And then inflate in compose with ui binding.
i
yes, using
AndroidViewBinding
to inflate it
i
Thanks Joel! There is nothing about mini controller integration.
o
I ended up creating my own composable for this. you just need to bind the cast metadata with your composable function