Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Android Build an Interactive Story App (Retired) Intents and Multiple Activities Sending Data to a New Activity

Eleni Minadaki
Eleni Minadaki
3,687 Points

How to make pages change in sequence instead of random?

Hi! i would like to ask about the app fun facts, i need to change my pages in the app in sequence ex. from 1 to 2 to 3 etc .The random which Ben use does not do this.How i could make? Thanks for any help.

1 Answer

Eleni Minadaki
Eleni Minadaki
3,687 Points

Thanks a lot Caleb for your answer. i have complete the interactive story app, but still complicated for me. i think the closest for the app i try to create is the fun facts lessons but instead of random i have already create a for but it can't work. i am new and maybe my explanation is complecated. Do you mind if i post my code and have a look if you have time of course?