Thank you for visiting the BlackBerry Support Community Forums.
BlackBerry will be closing the BlackBerry Support Community Forums Device Forums on April 1st (Developers, see below)
BlackBerry remains committed to providing excellent customer support to our customers. We are delighted to direct you to the CrackBerry Forums, a well-established and thorough support channel, for continued BlackBerry support. Please visit http://forums.crackberry.com or http://crackberry.com/ask. You can also continue to visit BlackBerry Support or the BlackBerry Knowledge Base for official support options available for your BlackBerry Smartphone.
"When we launched CrackBerry.com 10 years ago, we set out to make it a fun and useful destination where BlackBerry Smartphone owners could share their excitement and learn to unleash the full potential of their BlackBerry. A decade later, the CrackBerry community is as active and passionate as ever and I know our knowledgeable members and volunteers will be excited to welcome and assist more BlackBerry owners with their questions."
- Kevin Michaluk, Founder, CrackBerry.com
Developers, for more information about the BlackBerry Developer Community please review Join the Conversation on the BlackBerry Developer Community Forums found on Inside BlackBerry.
06-19-2013 07:40 PM
I know there is leadingVisual and I am already using it, but I need a button at the end of my list and there doesn't seem to be a trailingVisual component. I have heard about infinite scrolling but that isn't what I want. I do need this button however to load more items into the list when pressed. Anyway to implement this in JUST cascades?
06-19-2013 07:50 PM
There are a few options for doing this, theres this http://blackberry.github.io/Cascades-Samples/paged
then you could also listen in a listscrollstatehandler for the onEnd signal, and then when thats hit, flip the visiblity on the button that makes it show up at the bottom outside the list view.
06-19-2013 07:50 PM
06-19-2013 09:57 PM
06-20-2013 12:57 AM
Hey thanks guys! I was considering having two item types, but I wasn't sure how to make so only the last index used it.
in a GroupedDataModel you can give the item the highest possible value - then it's always the last one
06-20-2013 01:48 AM
06-20-2013 02:12 AM
if you have a GroupedDataModel and your sorting key is an int then add your special button-Item with this attribute set to gighest value possible or if your sorting key is City set the City to 'Zzzzzzzzz' or so
then this item will be the last one
and you can ask your Headeritem if 'Zzzzzzzz' and don#t display the header
only some ideas you can play with
06-20-2013 02:16 AM