🤑 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
  • 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

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

    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.