Good day. I use SwipeRefreshLayout in my RecyclerView . But I did not find anywhere else how to make an update with the svaype at the bottom of the list, and not at the top. Tell SwipeRefreshLayout how to implement this and is it even possible to do so using the standard SwipeRefreshLayout ?

    2 answers 2

    SwipeRefreshLayout does not support pull-to-refresh from below, but on github -e there is a solution that suits you. Link

    • It is very strange that Google did not add support from below. Thanks for the link. Tell me please, can the built-in libraries with github be used in paid apps on google play? - ivanovd422
    • Yes, I think there should be no problems - Android Android
    • Yes there is a MIT license, complete freedom of use. As for what they didn’t add, somewhere there is a video according to them, this violates the concept, as well as overscroll refresh, I don’t know if they fixed it now or not. - Shwarz Andrei

    Personally, I use this one , there is an opportunity to upgrade both from above and below

    • Thanks for the link, here and really you can immediately update from above and below. It will be useful in the future. - ivanovd422
    • Please tell me how to add and use it in your project? on github not a tutorial .. - ivanovd422
    • @ Denis422 "on github is not a tutorial .." So you did not look well, there IS a tutorial, namely, you read Usage , everything is written there, how to add XML and how to use it in the code. Customezation says that if you want to update from top to bottom and bottom to top, you need to add the app: direction = "both" in XML - BORSHEVIK
    • I saw it, and I did. But it crashes with a nullPoiuntException error, although standard Google, set exactly the same - no. - ivanovd422
    • @ Denis422 If your Exception has crashed, then it would be nice to see the logs on what it swears. This lib works absolutely fine for me, most likely you did something wrong - BORSHEVIK