SwiperefreshLayout in Android

后端 未结 7 2120
半阙折子戏
半阙折子戏 2020-12-09 03:58

i am using SwipeRefreshLayout in my below layout:




        
7条回答
  •  挽巷
    挽巷 (楼主)
    2020-12-09 04:44

    The solution from @User22791 works perfectly and, based on that, I created a library available on github that you can use (and modify) for make the usage of swipeRefreshLayout easier for developers. It's here: https://github.com/dagova/referencedSwipeRefreshLayout

    Basically you just have to reference in your layout the view to be checked in the method canChildScrollUp. I hope it will be useful.

提交回复
热议问题