πŸ€‘ Join the Treehouse affiliate program and earn 25% recurring commission!

New No-Code Track! πŸš€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
    • 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
  • 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
  • Alberto Olmeda
    Alberto Olmeda
    4,063 Points

    the challenge is: Initialize the showFactButton variable using the findViewById() method like the TextView above it.

    Posted December 20, 2022 6:01pm by Alberto Olmeda
    Alberto Olmeda
    4,063 Points
    • Android
    • Build a Simple Android App with Java
    • Basic Android Programming
    • Initializing a Button

    0 Answers

  • Farai Ted Mandoreba
    Farai Ted Mandoreba
    21,518 Points

    Initialize the showFactButton variable using the findViewById() method like the TextView above it. The ID for the button

    Posted March 4, 2019 12:15pm by Farai Ted Mandoreba
    Farai Ted Mandoreba
    21,518 Points
    • Android
    • Build a Simple Android App with Java
    • Basic Android Programming
    • Initializing a Button

    1 Answer

  • Farai Ted Mandoreba
    Farai Ted Mandoreba
    21,518 Points

    Initialize the showFactButton variable using the findViewById() method like the TextView above it. The ID for the button

    Posted March 4, 2019 11:54am by Farai Ted Mandoreba
    Farai Ted Mandoreba
    21,518 Points
    • Android
    • Build a Simple Android App with Java
    • Basic Android Programming
    • Initializing a Button

    1 Answer

  • Oliver Hoad
    Oliver Hoad
    23,622 Points

    What am I doing wrong?

    Posted October 13, 2018 11:39am by Oliver Hoad
    Oliver Hoad
    23,622 Points
    • Android
    • Build a Simple Android App with Java
    • Basic Android Programming
    • Initializing a Button

    0 Answers

  • Abdulraheem Bakare
    Abdulraheem Bakare
    809 Points

    how do i make this work

    Posted July 25, 2018 3:06pm by Abdulraheem Bakare
    Abdulraheem Bakare
    809 Points
    • Android
    • Build a Simple Android App with Java
    • Basic Android Programming
    • Initializing a Button

    1 Answer

  • Jorge Ponce
    Jorge Ponce
    2,252 Points

    I stop my course and i forget other things who can help me here.

    Posted May 14, 2018 11:06pm by Jorge Ponce
    Jorge Ponce
    2,252 Points
    • Android
    • Build a Simple Android App with Java
    • Basic Android Programming
    • Initializing a Button

    1 Answer

  • Manojkumar Sawant
    PLUS
    Manojkumar Sawant
    Courses Plus Student 194 Points

    Initialize the showFactButton variable using the findViewById() method like the TextView above it. The ID for the button

    Posted January 11, 2018 12:33am by Manojkumar Sawant
    Manojkumar Sawant
    Courses Plus Student 194 Points
    • Android
    • Build a Simple Android App with Java
    • Basic Android Programming
    • Initializing a Button

    1 Answer

  • Vygandas Razhas
    PLUS
    Vygandas Razhas
    Courses Plus Student 2,422 Points

    I've compared this syntax with atleast 4 different answered questions and I can't seem to find what's wrong with this.

    Posted December 13, 2017 8:32pm by Vygandas Razhas
    Vygandas Razhas
    Courses Plus Student 2,422 Points
    • Android
    • Build a Simple Android App with Java
    • Basic Android Programming
    • Initializing a Button

    1 Answer

  • ajaxrobotowl
    ajaxrobotowl
    219 Points

    formatting error with showFactButton

    Posted November 24, 2017 8:58pm by ajaxrobotowl
    ajaxrobotowl
    219 Points
    • Android
    • Build a Simple Android App with Java
    • Basic Android Programming
    • Initializing a Button

    1 Answer

  • john peter
    PLUS
    john peter
    Courses Plus Student 1,215 Points

    how to solve this im a bit confused by the question

    Posted November 12, 2017 5:58am by john peter
    john peter
    Courses Plus Student 1,215 Points
    • Android
    • Build a Simple Android App with Java
    • Basic Android Programming
    • Initializing a Button

    2 Answers

  • Savanna Sullivan
    Savanna Sullivan
    924 Points

    Initialize the showFactButton variable using the findViewById() method like the TextView above it. The ID for the buttoN

    Posted November 6, 2017 1:56pm by Savanna Sullivan
    Savanna Sullivan
    924 Points
    • Android
    • Build a Simple Android App with Java
    • Basic Android Programming
    • Initializing a Button

    0 Answers

  • RAVIRAJ DESAI
    RAVIRAJ DESAI
    145 Points

    Getting Errors..Please Help.

    Posted September 12, 2017 12:03pm by RAVIRAJ DESAI
    RAVIRAJ DESAI
    145 Points
    • Android
    • Build a Simple Android App with Java
    • Basic Android Programming
    • Initializing a Button

    1 Answer

  • Jorge PΓ©rez
    Jorge PΓ©rez
    974 Points

    I don't know how to continue

    Posted September 11, 2017 7:00pm by Jorge PΓ©rez
    Jorge PΓ©rez
    974 Points
    • Android
    • Build a Simple Android App with Java
    • Basic Android Programming
    • Initializing a Button

    1 Answer

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.