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
  • Tareq Alothman
    Tareq Alothman
    17,921 Points

    Video needs additional Teacher's Notes

    Posted March 23, 2018 7:20am by Tareq Alothman
    Tareq Alothman
    17,921 Points
    • Android
    • Android Lists and Adapters (2015)
    • Custom ListViews
    • Creating a Custom Layout - Part 1

    0 Answers

  • Raveesh Agarwal
    Raveesh Agarwal
    2,994 Points

    Help with Kotlin and KotlinX

    Posted October 18, 2017 10:42pm by Raveesh Agarwal
    Raveesh Agarwal
    2,994 Points
    • Android
    • Android Lists and Adapters (2015)
    • Custom ListViews
    • Setting the Data

    2 Answers

  • charlesdi
    charlesdi
    5,706 Points

    view holder is being changed to recycler view and iconImageView, temperatureLabel, dayLabel are not being recognize

    Posted August 2, 2017 1:47am by charlesdi
    charlesdi
    5,706 Points
    • Android
    • Android Lists and Adapters (2015)
    • Custom ListViews
    • getView() and the ViewHolder Pattern

    0 Answers

  • Scott Junner
    Scott Junner
    9,010 Points

    What is the ViewGroup root needed for?

    Posted June 1, 2017 8:30am by Scott Junner
    Scott Junner
    9,010 Points
    • Android
    • Android Lists and Adapters (2015)
    • Custom ListViews
    • getView() and the ViewHolder Pattern

    0 Answers

  • pranav kakkad
    pranav kakkad
    755 Points

    getIconId should be declared static

    Posted April 7, 2017 5:58pm by pranav kakkad
    pranav kakkad
    755 Points
    • Android
    • Android Lists and Adapters (2015)
    • Custom ListViews
    • Setting the Data

    1 Answer

  • pranav kakkad
    pranav kakkad
    755 Points

    R cannot be resolved

    Posted April 7, 2017 5:37pm by pranav kakkad
    pranav kakkad
    755 Points
    • Android
    • Android Lists and Adapters (2015)
    • Custom ListViews
    • Creating a Custom Layout - Part 2

    1 Answer

  • Khurram Shahzad
    Khurram Shahzad
    3,695 Points

    ListViewItem.xml Textview color not changing at all Image is not showing in the listviewitem.

    Posted February 21, 2017 9:02am by Khurram Shahzad
    Khurram Shahzad
    3,695 Points
    • Android
    • Android Lists and Adapters (2015)
    • Custom ListViews
    • Creating a Custom Layout - Part 2

    0 Answers

  • ABHISHEK RAI
    ABHISHEK RAI
    4,865 Points

    Handling button clicks on main ui

    Posted August 23, 2016 11:12am by ABHISHEK RAI
    ABHISHEK RAI
    4,865 Points
    • Android
    • Android Lists and Adapters (2015)
    • Custom ListViews
    • Setting the Data

    1 Answer

  • Dhruv Patel
    Dhruv Patel
    8,287 Points

    R resource file missing

    Posted March 2, 2016 11:13pm by Dhruv Patel
    Dhruv Patel
    8,287 Points
    • Android
    • Android Lists and Adapters (2015)
    • Custom ListViews
    • getView() and the ViewHolder Pattern

    1 Answer

  • CD Lim
    CD Lim
    4,782 Points

    what is View Group Root?

    Posted January 18, 2016 12:15pm by CD Lim
    CD Lim
    4,782 Points
    • Android
    • Android Lists and Adapters (2015)
    • Custom ListViews
    • getView() and the ViewHolder Pattern

    1 Answer

  • Kevin Faust
    Kevin Faust
    15,353 Points

    Creating objects that are static classes

    Posted October 26, 2015 1:43am by Kevin Faust
    Kevin Faust
    15,353 Points
    • Android
    • Android Lists and Adapters (2015)
    • Custom ListViews
    • getView() and the ViewHolder Pattern

    3 Answers

  • Mukul Gupta
    Mukul Gupta
    8,760 Points

    Why was the ViewHolder class declared as a static class?

    Posted September 27, 2015 6:30pm by Mukul Gupta
    Mukul Gupta
    8,760 Points
    • Android
    • Android Lists and Adapters (2015)
    • Custom ListViews
    • getView() and the ViewHolder Pattern

    2 Answers

  • Luke Liem
    Luke Liem
    6,367 Points

    Tools:background="#ffXXXXXX" - Cannot Resolve Symbol

    Posted September 7, 2015 12:15pm by Luke Liem
    Luke Liem
    6,367 Points
    • Android
    • Android Lists and Adapters (2015)
    • Custom ListViews
    • Creating a Custom Layout - Part 1

    0 Answers

  • Niravkumar Patel
    Niravkumar Patel
    2,277 Points

    not able to setText for titleTextView in a task

    Posted August 18, 2015 4:13pm by Niravkumar Patel
    Niravkumar Patel
    2,277 Points
    • Android
    • Android Lists and Adapters (2015)
    • Custom ListViews
    • Creating a Custom List Adapter

    1 Answer

  • Sam Morris
    Sam Morris
    5,422 Points

    Why was the ViewHolder created as a nested class instead of its own class?

    Posted August 4, 2015 10:16pm by Sam Morris
    Sam Morris
    5,422 Points
    • Android
    • Android Lists and Adapters (2015)
    • Custom ListViews
    • getView() and the ViewHolder Pattern

    1 Answer

  • Asmita Kunwar
    Asmita Kunwar
    2,410 Points

    How to inject butterknife in place of - holder.iconImageView = (ImageView) convertView.findViewById(R.id.iconImageView);

    Posted July 26, 2015 11:46pm by Asmita Kunwar
    Asmita Kunwar
    2,410 Points
    • Android
    • Android Lists and Adapters (2015)
    • Custom ListViews
    • getView() and the ViewHolder Pattern

    1 Answer

  • alexvalladares
    alexvalladares
    21,478 Points

    Link between custom list and activity

    Posted June 29, 2015 9:24am by alexvalladares
    alexvalladares
    21,478 Points
    • Android
    • Android Lists and Adapters (2015)
    • Custom ListViews
    • getView() and the ViewHolder Pattern

    0 Answers

  • alexvalladares
    alexvalladares
    21,478 Points

    Resource id in holder?

    Posted June 28, 2015 2:24pm by alexvalladares
    alexvalladares
    21,478 Points
    • Android
    • Android Lists and Adapters (2015)
    • Custom ListViews
    • Setting the Data

    2 Answers

  • Jessica Soruco
    Jessica Soruco
    5,843 Points

    About the multiple images in drawable, why to load different resolutions isn't png supposed to scale just fine?

    Posted June 5, 2015 7:50pm by Jessica Soruco
    Jessica Soruco
    5,843 Points
    • Android
    • Android Lists and Adapters (2015)
    • Custom ListViews
    • Creating a Custom Layout - Part 1

    1 Answer

  • fadhil suhendi
    fadhil suhendi
    7,680 Points

    Context class

    Posted May 26, 2015 8:32pm by fadhil suhendi
    fadhil suhendi
    7,680 Points
    • Android
    • Android Lists and Adapters (2015)
    • Custom ListViews
    • Creating a Custom Adapter

    1 Answer

  • William Juste
    William Juste
    7,822 Points

    From a 'getView()' method.Fill in the blanks to get the book for the given position and set the title using 'getTitle()'

    Posted May 23, 2015 4:59am by William Juste
    William Juste
    7,822 Points
    • Android
    • Android Lists and Adapters (2015)
    • Custom ListViews
    • Creating a Custom List Adapter

    2 Answers

  • Vipul Garg
    Vipul Garg
    354 Points

    i still do not understand why didn't we not extended the BaseAdapter instead of ArrayAdapter while creating dailyAdapter

    Posted March 17, 2015 3:19pm by Vipul Garg
    Vipul Garg
    354 Points
    • Android
    • Android Lists and Adapters (2015)
    • Custom ListViews
    • Creating a Custom Adapter

    1 Answer

  • Long Nguyen
    Long Nguyen
    8,564 Points

    LayoutInflater code line

    Posted March 17, 2015 10:05am by Long Nguyen
    Long Nguyen
    8,564 Points
    • Android
    • Android Lists and Adapters (2015)
    • Custom ListViews
    • getView() and the ViewHolder Pattern

    0 Answers

  • Ganta Hemanth
    Ganta Hemanth
    6,460 Points

    getview() method of the adapter

    Posted March 15, 2015 5:14am by Ganta Hemanth
    Ganta Hemanth
    6,460 Points
    • Android
    • Android Lists and Adapters (2015)
    • Custom ListViews
    • getView() and the ViewHolder Pattern

    1 Answer

  • Anas Fahad
    Anas Fahad
    16,079 Points

    what does LayoutInflater exactly do ?

    Posted March 15, 2015 1:37am by Anas Fahad
    Anas Fahad
    16,079 Points
    • Android
    • Android Lists and Adapters (2015)
    • Custom ListViews
    • getView() and the ViewHolder Pattern

    2 Answers

  • George Vardikos
    George Vardikos
    6,889 Points

    Center the temperature does work for 18 API

    Posted March 13, 2015 4:29pm by George Vardikos
    George Vardikos
    6,889 Points
    • Android
    • Android Lists and Adapters (2015)
    • Custom ListViews
    • Creating a Custom Layout - Part 2

    6 Answers

  • Vincent Wichmann
    Vincent Wichmann
    296 Points

    Failed to convert @drawable/picture into a drawable

    Posted March 10, 2015 12:38pm by Vincent Wichmann
    Vincent Wichmann
    296 Points
    • Android
    • Android Lists and Adapters (2015)
    • Custom ListViews
    • Creating a Custom Layout - Part 1

    1 Answer

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