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

Web and WebWorks Development

Reply
Visitor
shawnsnow
Posts: 1
Registered: ‎09-03-2012
My Carrier: 13800138000

how to realize pull or drag refresh with bbui scrollpanel? can scrollpanel do pull or drag refresh?

I want to realize this function. when user drag the scrollpanel and the scrollpanel is at the top , then the scrollpanel can refresh it's content.  but I donot know how to implement it. if I use iscroll, there are a lot of codes to modify.

Please use plain text.
BlackBerry Development Advisor (Retired)
erikjohnzon
Posts: 245
Registered: ‎09-21-2012
My Carrier: Virgin

Re: how to realize pull or drag refresh with bbui scrollpanel? can scrollpanel do pull or drag refresh?

We have a sample in WebWorks called PullDownToRefresh specifally for this: https://github.com/blackberry/BB10-WebWorks-Samples/tree/master/PullDownToRefresh

@erikjohnzon
erjohnson@blackberry.com
Please use plain text.