Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

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?