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: 64
Registered: ‎06-28-2011
My Device: BlackBerry Z10
My Carrier: Bell

View Next Item In List

Hi,

 

Is it possible to view the next item in a list by tapping an image/button.

 

For example, you tap a recipie from a list, and you want to see what the next recipie is like, so instead of going back and tapping the next item, just hit an arrow that brings you to next recipie.

 

Thanks.

Developer
Posts: 6,152
Registered: ‎07-05-2012
My Device: Playbook, Dev Alpha C, Z10 LE, Z30
My Carrier: Orange

Re: View Next Item In List

Record the index either through ListItem.indexInSection or ListItem.indexPath then on clicking your button just add one and get the next item from the model you are using or am I missing something in your problem?

 

If you are asking to auto-click the next item in the list, perhaps because your list and contents are on the same page then no this is not currenty possible.


If you've been helped click on Like Button, if you've been saved buy the app. Smiley Happy

Developer of stokLocker, Sympatico and Super Sentences.
Highlighted
Developer
Posts: 64
Registered: ‎06-28-2011
My Device: BlackBerry Z10
My Carrier: Bell

Re: View Next Item In List

What you said in the first part of your reply is what I'm looking, I'm just not entirely too sure how to do something like that.

 

Thanks.