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
  • Damian Adams
    Damian Adams
    21,351 Points

    Why did we initialize the Choice fields to null in our custom Page constructor?

    Posted March 23, 2016 8:38pm by Damian Adams
    Damian Adams
    21,351 Points
    • Android
    • Build an Interactive Story App (Retired)
    • The Model-View-Controller Pattern
    • Adding Custom Constructors

    0 Answers

  • mic john
    mic john
    725 Points

    How to add pdf pages

    Posted March 17, 2016 12:22pm by mic john
    mic john
    725 Points
    • Android
    • Build an Interactive Story App (Retired)
    • The Model-View-Controller Pattern
    • Adding Custom Constructors

    3 Answers

  • Eleni Minadaki
    Eleni Minadaki
    3,687 Points

    When Button has Tapped App stops.

    Posted January 6, 2016 10:22am by Eleni Minadaki
    Eleni Minadaki
    3,687 Points
    • Android
    • Build an Interactive Story App (Retired)
    • The Model-View-Controller Pattern
    • Adding Custom Constructors

    0 Answers

  • Eleni Minadaki
    Eleni Minadaki
    3,687 Points

    How to make the Button Choice 2 load previous pages?

    Posted January 3, 2016 1:25pm by Eleni Minadaki
    Eleni Minadaki
    3,687 Points
    • Android
    • Build an Interactive Story App (Retired)
    • The Model-View-Controller Pattern
    • Adding Custom Constructors

    0 Answers

  • Orla McGreal
    Orla McGreal
    1,625 Points

    I keep getting this error : java.lang.NullPointerException at JavaTester.run(JavaTester.java:1

    Posted October 23, 2015 4:32pm by Orla McGreal
    Orla McGreal
    1,625 Points
    • Android
    • Build an Interactive Story App (Retired)
    • The Model-View-Controller Pattern
    • Adding Custom Constructors

    1 Answer

  • abhilash reddy
    abhilash reddy
    1,237 Points

    I wanted to use the story lines from resource file that is from strings.xml file

    Posted October 15, 2015 6:00am by abhilash reddy
    abhilash reddy
    1,237 Points
    • Android
    • Build an Interactive Story App (Retired)
    • The Model-View-Controller Pattern
    • Adding Custom Constructors

    0 Answers

  • peter keves
    peter keves
    6,854 Points

    new Choice

    Posted July 27, 2015 7:01am by peter keves
    peter keves
    6,854 Points
    • Android
    • Build an Interactive Story App (Retired)
    • The Model-View-Controller Pattern
    • Adding Custom Constructors

    1 Answer

  • anirudh erabelly
    PLUS
    anirudh erabelly
    Courses Plus Student 1,122 Points

    Why did we use isBoolean??

    Posted July 10, 2015 6:58pm by anirudh erabelly
    anirudh erabelly
    Courses Plus Student 1,122 Points
    • Android
    • Build an Interactive Story App (Retired)
    • The Model-View-Controller Pattern
    • Adding Custom Constructors

    0 Answers

  • Sri Krishna
    Sri Krishna
    1,348 Points

    Why we are using boolean function i am not clear about that .. please help me ..

    Posted May 18, 2015 7:20am by Sri Krishna
    Sri Krishna
    1,348 Points
    • Android
    • Build an Interactive Story App (Retired)
    • The Model-View-Controller Pattern
    • Adding Custom Constructors

    2 Answers

  • Rene Keuter
    Rene Keuter
    1,803 Points

    Where does the %1$s come from? I know it's the name that the user typed.

    Posted May 16, 2015 3:18pm by Rene Keuter
    Rene Keuter
    1,803 Points
    • Android
    • Build an Interactive Story App (Retired)
    • The Model-View-Controller Pattern
    • Adding Custom Constructors

    2 Answers

  • Ragesh Kanagaraj
    Ragesh Kanagaraj
    3,637 Points

    I am completely confused with this customer constructor concepts in this current tutorial

    Posted May 9, 2015 4:35am by Ragesh Kanagaraj
    Ragesh Kanagaraj
    3,637 Points
    • Android
    • Build an Interactive Story App (Retired)
    • The Model-View-Controller Pattern
    • Adding Custom Constructors

    1 Answer

  • luis martinez
    luis martinez
    2,480 Points

    why are we doing mImageId = imageId; when we already did them at the bottom

    Posted April 28, 2015 1:57am by luis martinez
    luis martinez
    2,480 Points
    • Android
    • Build an Interactive Story App (Retired)
    • The Model-View-Controller Pattern
    • Adding Custom Constructors

    1 Answer

  • Arthur Podkowiak
    Arthur Podkowiak
    3,633 Points

    What is the point of mIsFinal

    Posted April 16, 2015 2:35am by Arthur Podkowiak
    Arthur Podkowiak
    3,633 Points
    • Android
    • Build an Interactive Story App (Retired)
    • The Model-View-Controller Pattern
    • Adding Custom Constructors

    1 Answer

  • ian sobo
    ian sobo
    3,851 Points

    Point of setters and constructors?

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

    2 Answers

  • Daddy Mammy
    PLUS
    Daddy Mammy
    Courses Plus Student 1,374 Points

    Why is not Ben doing this?

    Posted January 20, 2015 5:46am by Daddy Mammy
    Daddy Mammy
    Courses Plus Student 1,374 Points
    • Android
    • Build an Interactive Story App (Retired)
    • The Model-View-Controller Pattern
    • Adding Custom Constructors

    0 Answers

  • Christiaan Hendriksen
    Christiaan Hendriksen
    5,982 Points

    Why is Page defined twice?

    Posted December 25, 2014 12:45pm by Christiaan Hendriksen
    Christiaan Hendriksen
    5,982 Points
    • Android
    • Build an Interactive Story App (Retired)
    • The Model-View-Controller Pattern
    • Adding Custom Constructors

    1 Answer

  • poltexious
    PLUS
    poltexious
    Courses Plus Student 6,993 Points

    Why did Ben hardcode the story strings instead of putting them in the strings.xml resources?

    Posted November 22, 2014 9:26am by poltexious
    poltexious
    Courses Plus Student 6,993 Points
    • Android
    • Build an Interactive Story App (Retired)
    • The Model-View-Controller Pattern
    • Adding Custom Constructors

    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