插件使用 插件implementation 'com.google.accompanist:accompanist-swiperefresh:0.12.0' 使用SwipeRefresh( state = rememberSwipeRefreshState(isRefreshing), onRefresh = { viewModel.refresh() }, ){ }