20 Mar '14, 1am

How To Create a Circular ListView on @BlackBerry 10

How To Create a Circular ListView on @BlackBerry 10

Circular ListViews are common UI Elements used in mobile apps and the web. Examples of this can be seen on the Netflix movie browsing interface or the Facebook album gallery. Users are able to scroll through a number of list items continuously, looping back to the beginning when they reach the end of the list. Cascades on BlackBerry 10 does not have a native element to create a circular ListView . This post will describe one of the ways such an element can be created through the use of a custom DataModel . As a starting point we want the ability to create a list with our items, and the ability to add new items to it. The Code Start off by creating a CircularDataModel which will hold the data for our ListView to display. For storing the data internally we can use a QListDataModel . It provides some convenient function we’ll make use of later. #include <bb/cascades/QListData...

Full article: http://pivotallabs.com/blackberry-10-create-circular-list...

Tweets

Starbucks Coffee Journey: The First 10 Feet, Th...

news.starbucks.com 19 Mar '14, 6pm

Starbucks Coffee Journey: The First 10 Feet, The Last 10 Feet Beth plants a coffee tree on a hillside in Costa Rica. In a ...

Cradle to cradle - EU supports circular economy...

ecotextile.com 20 Mar '14, 12pm

Huge growth forecast for identity cottons Organic cotton facing testing times in India Textile dyestuff concerns in Sweden...

Why I Joined Pivotal Labs via @jshack

pivotallabs.com 18 Mar '14, 10pm

Pivotal Labs has helped more startups succeed than any development shop I know. In the end, the decision to join Pivotal w...

10 collaborations that changed the sneaker game...

twitter.com 20 Mar '14, 6am

To bring you Twitter, we and our partners use cookies on our and other websites. Cookies help personalize Twitter content,...

Listening Well: A Look at Gender Differences Wi...

pivotallabs.com 20 Mar '14, 2pm

Julie Ann Horvath’s public departure from GitHub has, once again, brought the question of gender equality in the tech worl...