Native Shopify Mobile App with 20 new features
Kickstart your hyperlocal marketplace in Corona pandemic with a starter guide
Android App Development
iOS App Development
Cross Platform App Development
Hire on-demand project developers and turn your idea into working reality.
Big thanks to Webkul and his team for helping get Opencart 184.108.40.206 release ready!
Owner and Founder. Opencart
This blog will give you a basic overview about the SwipeRefreshLayout.
SwipeRefreshLayout as the name suggest refreshes the content of a view (mostly View’s that this Layout hold) via vertical swipe gesture.
Yes, That’s simple. Just wrap your view by SwipeRefreshLayout.
Classes that wish to be notified when the swipe gesture correctly triggers a refresh should implement this interface.
The activity/fragment that instantiates this view should add an OnRefreshListener to be notified whenever the swipe to refresh gesture is completed. The SwipeRefreshLayout will notify the listener (OnRefreshListener) each and every time the gesture is completed again; the listener is responsible for correctly determining when to actually initiate a refresh of its content.
call setRefreshing(false) to cancel any visual indication of a refresh.
To disable the gesture and progress animation, call setEnabled(false) on the view.
Here is a sample of our SwipeRefreshLayout used in our Mobikul Application.
That’s all folks. #Stay_hungry_stay_foolish
Your email address will not be published. Required fields are marked*
Save my name email and website in this browser for the next time I comment.
Be the first to comment.
Great Product, Great Team, and Great Support Service. And if you want to add more features to the product, they can submit any idea that comes to your mind. They really care about their clients and we are really happy and honored to deal with Webkul.
Enquiry or Requirement
If you have more details or questions, you can reply to the received confirmation email.