Skip to main content

🛍️ BLACK FRIDAY get-one-give-one sale is underway. Don't miss $50 off PLUS a free subscription to gift a friend. 🤩

🚀 In our NEW AI Bootcamp you'll build a working app in 28 days, no experience required. Free to all subscription levels.

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
  • James Brace
    James Brace
    7,533 Points

    DarkSky API no longer accepting new license requests

    Posted February 5, 2021 2:20pm by James Brace
    James Brace
    7,533 Points
    • Android
    • Android Lists and Adapters
    • Updating the Data Model
    • Adding a New Data Model Object

    0 Answers

  • aaronr
    aaronr
    2,493 Points

    NullPointerException at holder.hourlyListItemBinding.setHour(hour);

    Posted August 7, 2020 7:29pm by aaronr
    aaronr
    2,493 Points
    • Android
    • Android Lists and Adapters
    • Adapters and ViewHolders
    • Activity

    0 Answers

  • aaronr
    aaronr
    2,493 Points

    Android Lists and adapters AccuWeather example.

    Posted July 12, 2020 5:31pm by aaronr
    aaronr
    2,493 Points
    • Android
    • Android Lists and Adapters
    • Updating the Data Model
    • Introducing JSONArray

    0 Answers

  • Gift Nyamapfene
    Gift Nyamapfene
    5,409 Points

    When defining an adapter for a RecyclerView we also define a, which holds the views that are added to a list item layout

    Posted April 5, 2020 11:33am by Gift Nyamapfene
    Gift Nyamapfene
    5,409 Points
    • Android
    • Android Lists and Adapters
    • Adapters and ViewHolders
    • ViewHolder Review

    0 Answers

  • John Clune
    PLUS
    John Clune
    Courses Plus Student 4,951 Points

    Error in ActivityHourlyForecastBinding.java

    Posted April 3, 2020 6:48pm by John Clune
    John Clune
    Courses Plus Student 4,951 Points
    • Android
    • Android Lists and Adapters
    • Adapters and ViewHolders
    • Adapting the Adapter

    0 Answers

  • John Clune
    PLUS
    John Clune
    Courses Plus Student 4,951 Points

    How would I log each element in the hours array we just created?

    Posted April 2, 2020 5:00pm by John Clune
    John Clune
    Courses Plus Student 4,951 Points
    • Android
    • Android Lists and Adapters
    • Updating the Data Model
    • From JSONArray to Java Array

    1 Answer

  • Arturo Castro
    Arturo Castro
    1,711 Points

    I got an error in the xml file, it says: Element android.support.constraint.ConstraintLayout is not allowed here

    Posted March 10, 2020 10:00pm by Arturo Castro
    Arturo Castro
    1,711 Points
    • Android
    • Android Lists and Adapters
    • Displaying Lists of Data
    • Binding Data in the Activity

    2 Answers

  • mochammad yalinulloh
    PLUS
    mochammad yalinulloh
    Courses Plus Student 3,002 Points

    Where is HourlyListItemBinding from?

    Posted October 9, 2019 1:25pm by mochammad yalinulloh
    mochammad yalinulloh
    Courses Plus Student 3,002 Points
    • Android
    • Android Lists and Adapters
    • Adapters and ViewHolders
    • Adapter Class & ViewHolder Sub-Class

    0 Answers

  • Tonnie Fanadez
    seal-mask
    .a{fill-rule:evenodd;}techdegree seal-36
    Tonnie Fanadez
    UX Design Techdegree Graduate 22,796 Points

    <layout> tag for Data Binding

    Posted August 12, 2019 8:29am by Tonnie Fanadez
    .a{fill-rule:evenodd;}techdegree seal-36
    Tonnie Fanadez
    UX Design Techdegree Graduate 22,796 Points
    • Android
    • Android Lists and Adapters
    • Displaying Lists of Data
    • Creating a Custom Layout

    1 Answer

  • Tonnie Fanadez
    seal-mask
    .a{fill-rule:evenodd;}techdegree seal-36
    Tonnie Fanadez
    UX Design Techdegree Graduate 22,796 Points

    content_hourly_forecast.xml vs activity_hourly_forecast.xml

    Posted August 12, 2019 6:29am by Tonnie Fanadez
    .a{fill-rule:evenodd;}techdegree seal-36
    Tonnie Fanadez
    UX Design Techdegree Graduate 22,796 Points
    • Android
    • Android Lists and Adapters
    • Displaying Lists of Data
    • Updating the Main Layout

    1 Answer

  • Martin Klestil
    Martin Klestil
    5,520 Points

    Data Binding Error

    Posted July 24, 2019 5:41am by Martin Klestil
    Martin Klestil
    5,520 Points
    • Android
    • Android Lists and Adapters
    • Adapters and ViewHolders
    • Activity

    1 Answer

  • sai maddukuri
    sai maddukuri
    9,108 Points

    the answer i am thinking is BookListItemBinding but how the hell BookItemListBinding is the correct answer.

    Posted April 6, 2019 1:07am by sai maddukuri
    sai maddukuri
    9,108 Points
    • Android
    • Android Lists and Adapters
    • Adapters and ViewHolders
    • ViewHolder Review

    1 Answer

  • sai maddukuri
    sai maddukuri
    9,108 Points

    i cant understand why we use generics<HourlyAdapter.ViewHolder>

    Posted April 6, 2019 12:57am by sai maddukuri
    sai maddukuri
    9,108 Points
    • Android
    • Android Lists and Adapters
    • Adapters and ViewHolders
    • Adapter Class & ViewHolder Sub-Class

    1 Answer

  • <noob />
    <noob />
    17,063 Points

    questions about the code in this video

    Posted February 23, 2019 7:47pm by <noob />
    <noob />
    17,063 Points
    • Android
    • Android Lists and Adapters
    • Updating the Data Model
    • From JSONArray to Java Array

    1 Answer

  • michael lee
    michael lee
    5,179 Points

    what does inflate and inflater actually do?

    Posted February 12, 2019 7:39am by michael lee
    michael lee
    5,179 Points
    • Android
    • Android Lists and Adapters
    • Adapters and ViewHolders
    • Adapting the Adapter

    1 Answer

  • zhenhuazhu
    zhenhuazhu
    2,417 Points

    Cannot resolve symbol 'Weather' error in ActivityMainBinding.Java

    Posted January 14, 2019 7:19pm by zhenhuazhu
    zhenhuazhu
    2,417 Points
    • Android
    • Android Lists and Adapters
    • Updating the Data Model
    • Getting the Whole Forecast

    1 Answer

  • Nataly Rifold
    Nataly Rifold
    12,432 Points

    I'm having problems with the binding calsses - ActivityMainBinding and ActivityMainBinding Impl

    Posted January 14, 2019 12:14pm by Nataly Rifold
    Nataly Rifold
    12,432 Points
    • Android
    • Android Lists and Adapters
    • Updating the Data Model
    • Adding a New Data Model Object

    1 Answer

  • gabriel wambua
    gabriel wambua
    5,061 Points

    Ok I am totally lost on theData variables

    Posted December 21, 2018 3:19pm by gabriel wambua
    gabriel wambua
    5,061 Points
    • Android
    • Android Lists and Adapters
    • Adapters and ViewHolders
    • Adapter Class & ViewHolder Sub-Class

    2 Answers

  • Christopher Steitz
    Christopher Steitz
    29,749 Points

    Project will build, but the generated Java is having an error

    Posted October 26, 2018 3:51pm by Christopher Steitz
    Christopher Steitz
    29,749 Points
    • Android
    • Android Lists and Adapters
    • Connecting the Data
    • Enhancing Looks & Performance

    1 Answer

  • Sofya Kozhurinycheva
    Sofya Kozhurinycheva
    1,602 Points

    Remove Recyclerview infinite scroll

    Posted August 10, 2018 2:43am by Sofya Kozhurinycheva
    Sofya Kozhurinycheva
    1,602 Points
    • Android
    • Android Lists and Adapters
    • Connecting the Data
    • Wrapping Up

    1 Answer

  • Jonathan Grieve
    Jonathan Grieve
    91,254 Points

    [SOLVED] Stormy App - IllegalStateException on HourlyButtonClick method.

    Posted July 19, 2018 11:51am by Jonathan Grieve
    Jonathan Grieve
    91,254 Points
    • Android
    • Android Lists and Adapters
    • Connecting the Data
    • Data & Performance Review

    1 Answer

  • Tomás Borges
    Tomás Borges
    4,394 Points

    Problems understanding the xml code

    Posted July 14, 2018 8:53pm by Tomás Borges
    Tomás Borges
    4,394 Points
    • Android
    • Android Lists and Adapters
    • Displaying Lists of Data
    • Creating a Custom Layout

    1 Answer

  • Fahad Saleem
    PLUS
    Fahad Saleem
    Courses Plus Student 10,786 Points

    I don't understand anything about integrating Views, ViewHolders. Can somebody explain to me?

    Posted June 30, 2018 6:37pm by Fahad Saleem
    Fahad Saleem
    Courses Plus Student 10,786 Points
    • Android
    • Android Lists and Adapters
    • Adapters and ViewHolders
    • Adapter Class & ViewHolder Sub-Class

    1 Answer

  • Jonathan Grieve
    Jonathan Grieve
    91,254 Points

    ActivityHourlyForecastBinding not working in Android 3.1.2

    Posted June 28, 2018 11:49am by Jonathan Grieve
    Jonathan Grieve
    91,254 Points
    • Android
    • Android Lists and Adapters
    • Adapters and ViewHolders
    • Activity

    2 Answers

  • Nathan Partridge
    Nathan Partridge
    57,851 Points

    Where is app:imageResource documented?

    Posted June 15, 2018 4:42am by Nathan Partridge
    Nathan Partridge
    57,851 Points
    • Android
    • Android Lists and Adapters
    • Connecting the Data
    • Cleaning Up the Data

    1 Answer

  • bytepunch
    seal-mask
    .a{fill-rule:evenodd;}techdegree
    bytepunch
    iOS Development with Swift Techdegree Student 5,114 Points

    Android Studio 3.1.3 on Windows doesn't generate ActivityHourlyForecastBinding so I can't import

    Posted June 14, 2018 4:31am by bytepunch
    .a{fill-rule:evenodd;}techdegree
    bytepunch
    iOS Development with Swift Techdegree Student 5,114 Points
    • Android
    • Android Lists and Adapters
    • Adapters and ViewHolders
    • Activity

    6 Answers

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