🤑 Join the Treehouse affiliate program and earn 25% recurring commission!

New No-Code Track! 🚀 New videos dropping every week—start learning today!

🌟 Dreaming of a bright future? 🎓 Ask about the Treehouse Scholarship program! 🚀

✨ Earn college credits in Cybersecurity, JS, HTML, CSS and Python

  • Treehouse Logo
  • Plans
    Chevron
    • For Individuals
    • For Businesses
    • For Schools
    • For Libraries
    • For Military
  • Library
    Chevron
    • All Courses
    • Tracks
    • College Credit
  • Techdegree
    Chevron
    • Overview
    • Front End Development
    • Full Stack JavaScript
    • Data Analysis
    • UX Design
    • Python
  • Community
    Chevron
    • Community Projects
    • Live Sessions
    • Code Adventures
    • Discord
    • Forum
    • Success Stories
    • Treehouse Links
    • 100 Days of Code
  • Resources
    Chevron
    • Career Toolbox
    • CodeForward
    • Free Treehouse Near Me
    • Jobs
    • Blog
    • Support
    • About
  • For Individuals For Businesses For Schools For Libraries For Military
  • All Courses Tracks College Credit
  • Overview Front End Web Development Full Stack JavaScript Python Development Data Analysis UX Design
  • Community Projects Live Sessions Code Adventures Discord Forum Success Stories Treehouse Links 100 Days of Code
  • Career Toolbox CodeForward Free Treehouse Near Me Jobs Blog Support About
  • Sign In
  • Free Trial
Instagram Twitter Facebook YouTube LinkedIn
    • Newest
      • Newest
      • Active
      • Unanswered
      • Featured
    • All Topics
      • All Topics
      • • General Discussion
      • • AI
      • • Android
      • • APIs
      • • Coding for Kids
      • • College Credit
      • • Computer Science
      • • CSS
      • • Data Analysis
      • • Databases
      • • Design
      • • Development Tools
      • • Digital Literacy
      • • Game Development
      • • Go Language
      • • HTML
      • • Java
      • • JavaScript
      • • Learning Resources
      • • Machine Learning
      • • No-Code
      • • PHP
      • • Professional Growth
      • • Python
      • • Quality Assurance
      • • React
      • • Ruby
      • • Security
      • • Swift
  • jeremiahjacquet
    jeremiahjacquet
    16,885 Points

    page0 is not populating when typing out the setImageID(R.drawable.page0) method. Why is my code missing page0 ?

    Posted May 26, 2016 8:28pm by jeremiahjacquet
    jeremiahjacquet
    16,885 Points
    • Android
    • Build an Interactive Story App (Retired)
    • The Model-View-Controller Pattern
    • Creating the Story

    3 Answers

  • Marko Vulic
    Marko Vulic
    5,079 Points

    I have Trouble to setImageId.

    Posted February 26, 2016 8:22am by Marko Vulic
    Marko Vulic
    5,079 Points
    • Android
    • Build an Interactive Story App (Retired)
    • The Model-View-Controller Pattern
    • Creating the Story

    4 Answers

  • GAURAV DOBHAL
    GAURAV DOBHAL
    6,155 Points

    Error initializing mPages

    Posted October 29, 2015 1:17am by GAURAV DOBHAL
    GAURAV DOBHAL
    6,155 Points
    • Android
    • Build an Interactive Story App (Retired)
    • The Model-View-Controller Pattern
    • Creating the Story

    1 Answer

  • Ankit Khatri
    PLUS
    Ankit Khatri
    Courses Plus Student 810 Points

    MVC

    Posted October 5, 2015 7:34pm by Ankit Khatri
    Ankit Khatri
    Courses Plus Student 810 Points
    • Android
    • Build an Interactive Story App (Retired)
    • The Model-View-Controller Pattern
    • Creating the Story

    0 Answers

  • Christoffer Walle
    PLUS
    Christoffer Walle
    Courses Plus Student 4,268 Points

    getPages() Method instead creating Story Class

    Posted September 9, 2015 8:40pm by Christoffer Walle
    Christoffer Walle
    Courses Plus Student 4,268 Points
    • Android
    • Build an Interactive Story App (Retired)
    • The Model-View-Controller Pattern
    • Creating the Story

    0 Answers

  • John Weland
    John Weland
    42,478 Points

    Android Studio and drawables

    Posted June 9, 2015 7:58pm by John Weland
    John Weland
    42,478 Points
    • Android
    • Build an Interactive Story App (Retired)
    • The Model-View-Controller Pattern
    • Creating the Story

    1 Answer

  • Ry Black
    Ry Black
    2,575 Points

    cannot resolve symbol "choice" HELP WOULD BE GREAT

    Posted May 3, 2015 1:52am by Ry Black
    Ry Black
    2,575 Points
    • Android
    • Build an Interactive Story App (Retired)
    • The Model-View-Controller Pattern
    • Creating the Story

    0 Answers

  • luis martinez
    luis martinez
    2,480 Points

    android page0 color red

    Posted April 27, 2015 12:53am by luis martinez
    luis martinez
    2,480 Points
    • Android
    • Build an Interactive Story App (Retired)
    • The Model-View-Controller Pattern
    • Creating the Story

    1 Answer

  • luis martinez
    luis martinez
    2,480 Points

    Build an interactive story (help!)

    Posted April 26, 2015 2:48am by luis martinez
    luis martinez
    2,480 Points
    • Android
    • Build an Interactive Story App (Retired)
    • The Model-View-Controller Pattern
    • Creating the Story

    4 Answers

  • ian sobo
    ian sobo
    3,851 Points

    Trying to wrap my brain around the purpose of Creating the separate "story" class.

    Posted April 4, 2015 4:54am by ian sobo
    ian sobo
    3,851 Points
    • Android
    • Build an Interactive Story App (Retired)
    • The Model-View-Controller Pattern
    • Creating the Story

    1 Answer

  • Adilet Zhusupbekov
    Adilet Zhusupbekov
    1,948 Points

    My setChoice1 and setChoice2 are not recognized.

    Posted April 1, 2015 1:08am by Adilet Zhusupbekov
    Adilet Zhusupbekov
    1,948 Points
    • Android
    • Build an Interactive Story App (Retired)
    • The Model-View-Controller Pattern
    • Creating the Story

    2 Answers

  • Jian Chen
    Jian Chen
    4,938 Points

    What is so special about an instance variable?

    Posted March 29, 2015 2:38pm by Jian Chen
    Jian Chen
    4,938 Points
    • Android
    • Build an Interactive Story App (Retired)
    • The Model-View-Controller Pattern
    • Creating the Story

    2 Answers

  • James Richardson
    James Richardson
    2,496 Points

    Why is my setChioice1 and setChoice2 not recognised? I have spent days trying to figure it out please help!

    Posted March 22, 2015 8:21pm by James Richardson
    James Richardson
    2,496 Points
    • Android
    • Build an Interactive Story App (Retired)
    • The Model-View-Controller Pattern
    • Creating the Story

    11 Answers

  • Travis Avey
    Travis Avey
    18,876 Points

    Use mipmap instead of drawable, Android Studio 1.1

    Posted March 5, 2015 10:14pm by Travis Avey
    Travis Avey
    18,876 Points
    • Android
    • Build an Interactive Story App (Retired)
    • The Model-View-Controller Pattern
    • Creating the Story

    0 Answers

  • richard maxon
    richard maxon
    3,089 Points

    Won't import page class

    Posted February 16, 2015 3:45pm by richard maxon
    richard maxon
    3,089 Points
    • Android
    • Build an Interactive Story App (Retired)
    • The Model-View-Controller Pattern
    • Creating the Story

    3 Answers

  • fadhil suhendi
    fadhil suhendi
    7,680 Points

    About "mPages[0].setImageId(R.drawable.page0)"

    Posted December 31, 2014 3:40am by fadhil suhendi
    fadhil suhendi
    7,680 Points
    • Android
    • Build an Interactive Story App (Retired)
    • The Model-View-Controller Pattern
    • Creating the Story

    1 Answer

  • Joannie Huang
    Joannie Huang
    6,195 Points

    About "mPages[0] = new Page();"

    Posted December 17, 2014 3:47pm by Joannie Huang
    Joannie Huang
    6,195 Points
    • Android
    • Build an Interactive Story App (Retired)
    • The Model-View-Controller Pattern
    • Creating the Story

    2 Answers

Posting to the forum is only allowed for members with active accounts.
Please sign in or sign up to post.

    Treehouse

  • About
  • Blog
  • Careers
  • Community
  • Stories
  • Shop
  • Contact
  • Gift Card

See Full Catalogue

Techdegree

  • Front End Web Development
  • Full Stack JavaScript
  • Python Development
  • Data Analysis
  • UX Design

Tracks

  • Learn to Code for Beginners
  • Beginning Python
  • Beginning SQL
  • Beginning Java
  • ...see more

Courses

  • JavaScript Basics
  • Intro to HTML & CSS
  • Python Basics
  • CSS Layout
  • ...see more

Explore

  • Plans
  • Affiliates
  • Perks
  • Free Treehouse Near Me
  • Treehouse for Libraries
  • Treehouse for Businesses
  • Twitter
  • YouTube
  • Facebook
  • LinkedIn
  • Instagram
Terms & Conditions | Privacy

© 2025 Treehouse Island, Inc.