Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Native Development

Reply
Developer
Posts: 68
Registered: ‎08-16-2012
My Device: BB10 Dev Alpha
My Carrier: NA
Accepted Solution

Is release to refresh (listview) still not supported?

Hi All,

 

I remember there is a thread discussing this, it seems not supported at that time. Now it's already beta4, is this feature supported? Or is there a work around to implement this feature by myself?

 

Thanks,

Dong

Developer
Posts: 889
Registered: ‎08-31-2009
My Device: 9530, 9630, 9800, 8530, 9900, 9810, 9930, PlayBook, Dev Alpha
My Carrier: Verizon

Re: Is release to refresh (listview) still not supported?

I don't believe that there are any plans to support this out of the box. RIM certainly has not said anything about it. Some devs have manually written such a control on their own though...


Read my thoughts on BlackBerry Development at news.ebscer.com
Developer
Developer
Posts: 174
Registered: ‎03-05-2009
My Device: Dev Alpha
My Carrier: -

Re: Is release to refresh (listview) still not supported?

you have to implement it yourself, here's the trick:

 

1) use the ListView's leading visual

2) get position updates using the LayoutUpdateHandler: https://developer.blackberry.com/cascades/reference/bb__cascades__layoutupdatehandler.html

Developer
Posts: 68
Registered: ‎08-16-2012
My Device: BB10 Dev Alpha
My Carrier: NA

Re: Is release to refresh (listview) still not supported?

Yes, that does the trick, thanks a lot!

 

Dong

Regular Contributor
Posts: 51
Registered: ‎04-24-2013
My Device: Z10
My Carrier: Telkomsel

Re: Is release to refresh (listview) still not supported?

Can you give an example?

Developer
Posts: 89
Registered: ‎03-17-2013
My Device: Dev Alpha + Z10
My Carrier: I carry it myself.

Re: Is release to refresh (listview) still not supported?

To which control should I attach LayoutUpdateHandler?


SQL Terminal – command-line interface to local SQLite database