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

🤑 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

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

  • 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
    • Showing results for:
    • Android
    • Android Activity Lifecycle
    • The Project
    • Close
  • Durim Fetahaj
    Durim Fetahaj
    5,946 Points

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

    Posted on Sep 19, 2020 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 on Aug 5, 2019 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 on Oct 26, 2017 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 on Feb 26, 2017 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 on Dec 14, 2016 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 on Oct 26, 2016 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 on Sep 14, 2016 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 on Jul 18, 2016 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 on Jul 11, 2016 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 on Jun 23, 2016 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 on Mar 23, 2016 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 on Mar 17, 2016 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 on Mar 15, 2016 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 on Mar 9, 2016 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 on Dec 9, 2015 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 on Nov 23, 2015 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.