Created
March 6, 2016 12:34
-
-
Save codenameone/da87714157f97c739b2a to your computer and use it in GitHub Desktop.
Usage of the pull to refresh feature of Codename One
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Form hi = new Form("Pull To Refresh", BoxLayout.y()); | |
hi.getContentPane().addPullToRefresh(() -> { | |
hi.add("Pulled at " + L10NManager.getInstance().formatDateTimeShort(new Date())); | |
}); | |
hi.show(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Sample usage of the Pull To Refresh feature of Component.
From the Codename One project