08-05-2012 01:30 AM
how to implement "release to refresh" action on ListView ?
08-05-2012 02:40 AM
08-05-2012 04:03 AM
08-08-2012 11:29 AM
Hi there,
I am assuming you mean implementing the action of "pulling down" the list view in order to post a refresh request to the model shown by the list view;
There are no such components 'out of the box' for this; You would need to implement this using a CustomControl with a ListView in it and implement your own signals depending on the scrolling position of the user (if 'scroll down' is triggered and user is at the top of the list, fire a refresh signal).
If you feel that this functionality should be available in the API, I would recommend posting a feature request on the Issue Tracker:
https://www.blackberry.com/jira/secure/Dashboard.j
Cheers,
Martin
08-10-2012 10:40 AM
Well, there is no built-in control to completely implement this. But there is something that can at least meet you half-way. ListView now has a property where you can associate a "leading visual" with it:
https://developer.blackberry.com/cascades/referenc
I think this may be where you'd hook in a "pull to refresh" control.
08-10-2012 03:31 PM
08-12-2012 06:10 AM
08-12-2012 09:29 AM
08-12-2012 09:30 AM
08-12-2012 06:19 PM