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
peter9477
Posts: 6,473
Registered: ‎12-08-2010
My Device: PlayBook, Z10

Re: infiniscroll on listview?

There is no signal named atEnd, so the handler isn't named onAtEnd either. Please check the docs so you know which one you're actually trying to use. (Hint: it ends with the same thing as the onScrollingChanged one ends with...)

Peter Hansen -- (BB10 and dev-related blog posts at http://peterhansen.ca.)
Author of White Noise and Battery Guru for BB10 and for PlayBook | Get more from your battery!
Developer
rnickel
Posts: 62
Registered: ‎10-29-2008
My Device: 9800

Re: infiniscroll on listview?

I imagine you're referring to onAtEndChanged?

 

If so I tried that one as well and I have the same error stating that it's an unknown signal

Developer
peter9477
Posts: 6,473
Registered: ‎12-08-2010
My Device: PlayBook, Z10

Re: infiniscroll on listview?

I'll have to download the new beta SDK at this point then. :-)

Did you check the headers? In the past, I think they've sometimes failed to mark certain items properly for export to QML, so they aren't visible in QML in spite of what the docs say.

Peter Hansen -- (BB10 and dev-related blog posts at http://peterhansen.ca.)
Author of White Noise and Battery Guru for BB10 and for PlayBook | Get more from your battery!
Developer
kylefowler
Posts: 526
Registered: ‎05-17-2009
My Device: 9900

Re: infiniscroll on listview?

Thats definitely the right signal, I'm currently using it successfully.
Like all of my posts
Developer
lildeimos
Posts: 60
Registered: ‎05-21-2012
My Device: DA C, Z10 LE

Re: infiniscroll on listview?

I have beta 4 (both linux and windows) installed and I cannot see onAtEndChanged signal !
I checked

target_10_0_9_1101/qnx6/usr/include/bb/cascades/controls/listscrollstatehandler.h

and can't see the declaration of atBeginning and atEnd properties.
What should I check ?
Developer
peter9477
Posts: 6,473
Registered: ‎12-08-2010
My Device: PlayBook, Z10

Re: infiniscroll on listview?

I just tried a quick test in QML with each of the handlers defined. Neither onAtBeginningChanged nor onAtEndChanged have been set up properly in beta 4, but onScrollingChanged works perfectly well.

 

The corresponding properties are the same... "scrolling" works, but "atBeginning" and "atEnd" are invisible, at least to QML.


Peter Hansen -- (BB10 and dev-related blog posts at http://peterhansen.ca.)
Author of White Noise and Battery Guru for BB10 and for PlayBook | Get more from your battery!
Contributor
nico411
Posts: 34
Registered: ‎12-20-2010
My Device: DevAlpha Beta 2

Re: infiniscroll on listview?

I have exactly the same problem.

I can use onScrollingChanged but neither onAtBeginningChanged nor onAtEndChanged work :smileyfrustrated:

Developer
dridk
Posts: 91
Registered: ‎09-25-2012
My Device: bb10 alpha

Re: infiniscroll on listview?

Same for me ............. I hate beta4 and the desilusion by reading the documentation.... 

 

So,  I create a new issue in Jira called : 

ListScrollStateHandler : atEnd and atBeginning are missing , but the documention said they should be...

 

Please vote for it  

a lover of Qt
Developer
connyhald
Posts: 102
Registered: ‎06-03-2012
My Device: Playbook

Re: infiniscroll on listview?

Thanks, but it looks like it's private or something. At least I cannot access it.

 

You cannot view this issue because you are not the issue reporter or assignee, a member of the project group, or a member of the issue group and this issue is closed or in triage.

 

-----------
http://kodira.de
BB Apps: Pattern :: Plonk
Developer
lildeimos
Posts: 60
Registered: ‎05-21-2012
My Device: DA C, Z10 LE

Re: infiniscroll on listview?

with this new Gold SDK release, its working !