title: Android Pull To Refresh Demo On Fragment
body: <p>I have implemented pull to refresh using an library from <a href="https://github.com/chrisbanes/Android-PullToRefresh" rel="nofollow">https://github.com/chrisbanes/Android-PullToRefresh</a> but when i call the demo function(mylistview.demo()) on my listview object from my fragment,the function doesn't execute.</p>
  
  <p>The demo function works when i call it from an onclicklistener so I think the problem has to do with the function being executed before the fragment is loaded. How can I solve this problem?</p>