SwipeRefreshLayout 内的 ComposeView 刷新问题

pep*_*ove 8 android android-jetpack android-jetpack-compose

我正在尝试迁移回收器视图来组成惰性列表。

recyclerview 位于 swipeRefreshLayout 内。所以我在xml中添加了composeView并添加了compose.yml文件。但是,当我滚动到列表底部并尝试向上滚动时,会触发滑动刷新。有办法解决这个问题吗?

            <androidx.swiperefreshlayout.widget.SwipeRefreshLayout
                android:id="@+id/refreshLayout"
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:visibility="gone">

                <androidx.compose.ui.platform.ComposeView
                    android:id="@+id/composeUI"
                    android:layout_width="match_parent"
                    android:layout_height="match_parent"
                    />
Run Code Online (Sandbox Code Playgroud)