Skip to main content

🚀 In our NEW AI Bootcamp you'll build a working app in 28 days, no experience required. Free to all subscription levels.

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

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

  • Treehouse Logo
    • For Individuals
    • For Businesses
    • For Schools
    • For Libraries
    • For Military
    • All Courses
    • Tracks
    • AI Bootcamp
    • College Credit
    • Techdegree Bootcamps
    • Front End Development
    • Full Stack JavaScript
    • Code Adventures
    • Discord
    • Forum
    • Success Stories
    • Treehouse Links
    • 100 Days of Code
    • Explore
    • Career Toolbox
    • Free Treehouse Near Me
    • Affiliates
    • Blog
    • Support
    • About
    • Learn
    • Beginner's Guide to Coding
    • Data Analysis with SQL & Python
    • Front-End Web Development
    • Python Programming Basics
    • Techdegree Bootcamp Overview
    • UX Design Fundamentals
    • AI Tools for Beginners
  • For Individuals For Businesses For Schools For Libraries For Military
  • All Courses Tracks AI Bootcamp College Credit
  • Techdegree Bootcamps Front End Web Development Full Stack JavaScript
  • Code Adventures Discord Forum Success Stories Treehouse Links 100 Days of Code
  • Explore Career Toolbox Free Treehouse Near Me Affiliates Blog Support About
    Learn Beginner's Guide to Coding Data Analysis with SQL & Python Front-End Web Development Python Programming Basics Techdegree Bootcamp Overview UX Design Fundamentals AI Tools for Beginners
  • Sign In
  • Free Trial
Instagram Twitter Facebook YouTube LinkedIn
Loading banner... Start your free trial at Treehouse
    • Newest
      • Newest
      • Active
      • Unanswered
      • Featured
    • All Topics
      • All Topics
      • • General Discussion
      • • AI
      • • 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
      • • Vibe Coding
  • jeremiahjacquet
    jeremiahjacquet
    17,043 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
    17,043 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

  • Eric Oropeza Elwood
    Eric Oropeza Elwood
    1,415 Points

    cannot resolve methods in Story.java

    Posted February 13, 2015 5:47pm by Eric Oropeza Elwood
    Eric Oropeza Elwood
    1,415 Points
    • Android
    • Build an Interactive Story App (Retired)
    • The Model-View-Controller Pattern
    • Creating the Story

    0 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.

Techdegree

  • Front End Web Development
  • Full Stack JavaScript
SEE ALL

Tracks

  • Learn to Code for Beginners
  • Beginning Python
  • Beginning SQL
  • Beginning Java
SEE ALL

Courses

  • JavaScript Basics
  • Intro to HTML & CSS
  • Python Basics
  • CSS Layout
SEE ALL

About Us

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

Explore

  • Plans
  • Affiliates
  • Perks
  • Shop
  • Free Treehouse Near Me
  • Treehouse for Libraries
  • Treehouse for Businesses

Treehouse is an online technology education platform founded in 2011. Treehouse offers more than 700 self-paced, video-based courses in web development, programming, data analysis, design, and AI, plus two project-based bootcamp programs in Front End Web Development and Full Stack JavaScript. Individual Treehouse plans start at $25 per month and include a 7-day free trial. Treehouse serves individual learners, businesses, schools, and public libraries. Cardholders at participating U.S. public libraries can use Treehouse for free. Select Treehouse courses, offered with University Pathways International, are recommended for college credit by ACE and NCCRS. Treehouse learners earn digital certificates for completed Tracks.

Terms & Conditions · Privacy · © 2026 Treehouse Island, Inc.
  • Twitter
  • YouTube
  • Facebook
  • LinkedIn
  • Instagram
  • Discord