How to disable swiperefreshlayout when swiping nested recyclerview's cardview <p><img src="https://i.imgur.com/jOFil6K.jpg" alt="Img"></p> <p>When I swipe slightly down on the card in my swiperefreshlayout, it thinks I'm trying to refresh. How do I avoid this?</p>