简体   繁体   English

SwipeRefreshLayout 使用进度条向下滑动滚动视图

[英]SwipeRefreshLayout swipe down scrollview with progress bar

<androidx.swiperefreshlayout.widget.SwipeRefreshLayout
    android:layout_width="match_parent"
    android:layout_height="wrap_content">

    <ScrollView
        android:layout_width="wrap_content"
        android:layout_height="wrap_content">

        /*
        Something......
        */

    </ScrollView>

</androidx.swiperefreshlayout.widget.SwipeRefreshLayout>

I want to swipe down my scrollview with progress bar.我想用进度条向下滑动我的滚动视图。 Like left one.就像左边的一样。 How can i do this?我怎样才能做到这一点? 刷下

I'm pretty sure you can just put the androidx.swiperefreshlayout.widget.SwipeRefreshLayout inside of the ScrollView我很确定您可以将 androidx.swiperefreshlayout.widget.SwipeRefreshLayout 放入 ScrollView

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM