Reputation: 170
Any code sample on how to trigger Pull To Refresh in codenameone will be appreciated. Adding pull to refresh is simple but I have a use case where I need pull to refresh automatically done after form's post show.
Upvotes: 1
Views: 88
Reputation: 52760
The InfiniteContainer does that implicitly but if you want to use the pull to refresh directly. Since pull to refresh accepts a Runnable
you can just call its run()
method on show.
Upvotes: 1