Vinay Gaba
06/29/2021, 6:27 PMfindFragment(view: View) method for Compose - https://developer.android.com/reference/androidx/fragment/app/FragmentManager#findFragment(android.view.View). Basically need a way to find the fragment that's hosting the composable (Don't judge me for saying that 😄 Need it for practical reasons). If there's no plans for first class support, how can I go about creating similar functionality. The view system essentially makes use of the get/setTag method to associate a view to a fragment using this id R.id.fragment_container_view_tag.Ian Lake
06/29/2021, 6:37 PMLocalLifecycleOwner) or your own LocalFragment?Ian Lake
06/29/2021, 6:42 PMAndroidViewBinding might be doing something similar to the hacking that you're proposing: https://cs.android.com/androidx/platform/frameworks/support/+/androidx-main:compose/[…]va/androidx/compose/ui/viewinterop/AndroidViewBinding.kt;l=66Ian Lake
06/29/2021, 6:42 PMLocalView.current with findFragment()Vinay Gaba
06/29/2021, 7:13 PMVinay Gaba
06/29/2021, 7:14 PM