I'm using chrisbanes's Android-PullToRefresh in my app.
I need to disable pulltorefresh functionality for first time fragment launch - when list is empty and items are downloading in background. In this case (list is empty) user can swipe down and progressbar with "Release to refresh" will shown.
After loading all items I want to enable pulltorefresh functionality..
How?