Yalantis / Phoenix

Phoenix Pull-to-Refresh
https://yalantis.com/
Apache License 2.0
4.01k stars 916 forks source link

How can i disable it programatically? #45

Closed svetaz closed 6 years ago

svetaz commented 6 years ago

Hello, is it possible to disable it programatically,because i want it to be active only when specific view is touched and not the rest of the layout?

Thanks in advance :) Great lib btw !

svetaz commented 6 years ago

More details: i have a nested scroll view,and when im swiping down it doesnt scroll up my view,instead it activates Phoenix refresh :) Please help me.

svetaz commented 6 years ago

Nvm,found a solution :D Will email you once the app is done,thanks!

pinkgom commented 6 years ago

I write down methods for those wondering how to handle like me. Use API below. .setEnable(boolean enabled)