🤑 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
  • Durim Fetahaj
    Durim Fetahaj
    5,946 Points

    The method "notifyDataSetChanged()" doesn't work anymore

    Posted September 19, 2020 2:02pm by Durim Fetahaj
    Durim Fetahaj
    5,946 Points
    • Android
    • Android Activity Lifecycle
    • The Project
    • Adding the Menu

    0 Answers

  • Daniel Prowse
    Daniel Prowse
    7,941 Points

    Layout is different when app runs

    Posted August 5, 2019 11:37am by Daniel Prowse
    Daniel Prowse
    7,941 Points
    • Android
    • Android Activity Lifecycle
    • The Project
    • Adding the Menu

    4 Answers

  • Raveesh Agarwal
    Raveesh Agarwal
    2,994 Points

    The Beauty Of Kotlin!!

    Posted October 26, 2017 3:21pm by Raveesh Agarwal
    Raveesh Agarwal
    2,994 Points
    • Android
    • Android Activity Lifecycle
    • The Project
    • Adding the Menu

    0 Answers

  • Orion Wolf-Hubbard
    Orion Wolf-Hubbard
    4,906 Points

    don't understand why he added the "xmlns:tools..."

    Posted February 26, 2017 9:06pm by Orion Wolf-Hubbard
    Orion Wolf-Hubbard
    4,906 Points
    • Android
    • Android Activity Lifecycle
    • The Project
    • Updating and Creating Layout Files

    0 Answers

  • Alex Londono
    Alex Londono
    2,033 Points

    How did you know you needed a list adapter and more importantly, that you needed to extend base adapter?

    Posted December 14, 2016 12:06pm by Alex Londono
    Alex Londono
    2,033 Points
    • Android
    • Android Activity Lifecycle
    • The Project
    • Creating the Adapter

    1 Answer

  • Kyle Baker
    Kyle Baker
    8,211 Points

    What's going on?

    Posted October 26, 2016 11:22pm by Kyle Baker
    Kyle Baker
    8,211 Points
    • Android
    • Android Activity Lifecycle
    • The Project
    • Creating the Adapter

    1 Answer

  • Matthew Francis
    Matthew Francis
    6,967 Points

    What is " android:id="@android:id/list"?

    Posted September 14, 2016 4:24am by Matthew Francis
    Matthew Francis
    6,967 Points
    • Android
    • Android Activity Lifecycle
    • The Project
    • Updating and Creating Layout Files

    1 Answer

  • sok veasna
    sok veasna
    1,388 Points

    Congratulations on finishing the Golf Scorecard app! Here's a few questions to get you thinking about how you might tack

    Posted July 18, 2016 2:57am by sok veasna
    sok veasna
    1,388 Points
    • Android
    • Android Activity Lifecycle
    • The Project
    • Retrospective

    1 Answer

  • shengxiong LIU
    shengxiong LIU
    3,410 Points

    why i have an alert that variable position is accessed from within inner class, needs to be declared final

    Posted July 11, 2016 8:54pm by shengxiong LIU
    shengxiong LIU
    3,410 Points
    • Android
    • Android Activity Lifecycle
    • The Project
    • Creating the Adapter

    1 Answer

  • Umberto D'Ovidio
    Umberto D'Ovidio
    4,563 Points

    Why was the ViewHolder declared as final?

    Posted June 23, 2016 9:16am by Umberto D'Ovidio
    Umberto D'Ovidio
    4,563 Points
    • Android
    • Android Activity Lifecycle
    • The Project
    • Creating the Adapter

    1 Answer

  • Jordan Ernst
    Jordan Ernst
    5,121 Points

    null pointer exception.

    Posted March 23, 2016 4:47am by Jordan Ernst
    Jordan Ernst
    5,121 Points
    • Android
    • Android Activity Lifecycle
    • The Project
    • Creating the Adapter

    1 Answer

  • Luis Rios
    Luis Rios
    3,149 Points

    Getting an error java.lang.NullPointerException in ListAdapter.java. How do I fix this?

    Posted March 17, 2016 1:12am by Luis Rios
    Luis Rios
    3,149 Points
    • Android
    • Android Activity Lifecycle
    • The Project
    • Adding the Menu

    0 Answers

  • firnaz luztian adiansyah
    firnaz luztian adiansyah
    5,295 Points

    how to retrieve a stored SharedPreference value from mainActivity to a different activity?

    Posted March 15, 2016 9:28pm by firnaz luztian adiansyah
    firnaz luztian adiansyah
    5,295 Points
    • Android
    • Android Activity Lifecycle
    • The Project
    • Implementing SharedPreferences

    2 Answers

  • Salim Issa
    PLUS
    Salim Issa
    Courses Plus Student 586 Points

    You are very fast to explain ideas in this video

    Posted March 9, 2016 9:11am by Salim Issa
    Salim Issa
    Courses Plus Student 586 Points
    • Android
    • Android Activity Lifecycle
    • The Project
    • Updating and Creating Layout Files

    1 Answer

  • Bryan Wiedeman
    Bryan Wiedeman
    10,203 Points

    android.content.res.Resources$NotFoundException: String resource ID #0x0

    Posted December 9, 2015 1:55am by Bryan Wiedeman
    Bryan Wiedeman
    10,203 Points
    • Android
    • Android Activity Lifecycle
    • The Project
    • Creating the Adapter

    2 Answers

  • giannis sotiris
    giannis sotiris
    2,372 Points

    error on setListAdapter(mListAdapter);

    Posted November 23, 2015 10:19pm by giannis sotiris
    giannis sotiris
    2,372 Points
    • Android
    • Android Activity Lifecycle
    • The Project
    • Creating the Adapter

    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.