I am in the middle of migrating from traditional xml to compose. so i have started to migrate my fragments from xml layout to compose. this fragments are used in an activity which mainly uses old xml layout stuff. unfortunatelly since migrating the fragments from xml to compose the appbarlayouts onOffsetChangeListener stopped working. how can i fix this, that the scroll events from the recyclerview in fragment are also forwarded to the activity´s appbarlayout. i already tried some kind of nestedScroll modifier but this was unfortunatelly not working.
here is the layout structure
Activity
CoordinatorLayout
-> AppBarLayout
-> ComposeView
-> ViewPager2
Fragment in ViewPager2
ComposeView
-> Box
-> AndroidView(RecyclerView)
can you please help me with this weird issue. thx