✨ 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
    • Build a Weather App
    • Hooking Up the Model to the View
    • Close
  • Andrew Stevens
    Andrew Stevens
    11,083 Points

    How do I bind values from Visual Crossing?

    Posted on May 2, 2022 by Andrew Stevens
    Andrew Stevens
    11,083 Points
    • Android
    • Build a Weather App
    • Hooking Up the Model to the View
    • Plugging in the Data

    0 Answers

  • Silas Benza
    Silas Benza
    5,117 Points

    DATA binding

    Posted on Feb 10, 2021 by Silas Benza
    Silas Benza
    5,117 Points
    • Android
    • Build a Weather App
    • Hooking Up the Model to the View
    • Review: Data Binding

    1 Answer

  • Conor O'Neill
    Conor O'Neill
    1,910 Points

    Unable to load class 'javax.xml.bind.JAXBException'.

    Posted on Nov 17, 2019 by Conor O'Neill
    Conor O'Neill
    1,910 Points
    • Android
    • Build a Weather App
    • Hooking Up the Model to the View
    • We're in a Bind

    0 Answers

  • remi poolen
    remi poolen
    6,697 Points

    Where does the weather.formatted time attribute come from?

    Posted on Jun 23, 2019 by remi poolen
    remi poolen
    6,697 Points
    • Android
    • Build a Weather App
    • Hooking Up the Model to the View
    • Plugging in the Data

    1 Answer

  • yasin surucu
    yasin surucu
    1,173 Points

    i got this error when i run this code "error: cannot find symbol class ActivityMainBindingImpl"

    Posted on Jun 11, 2019 by yasin surucu
    yasin surucu
    1,173 Points
    • Android
    • Build a Weather App
    • Hooking Up the Model to the View
    • Plugging in the Data

    2 Answers

  • Muhammad Khan
    Muhammad Khan
    1,379 Points

    why is this wrong?

    Posted on Apr 8, 2019 by Muhammad Khan
    Muhammad Khan
    1,379 Points
    • Android
    • Build a Weather App
    • Hooking Up the Model to the View
    • Review: Data Binding

    1 Answer

  • Spencer Bell
    Spencer Bell
    1,322 Points

    I have error on binding.setWeather(displayWeather); , the error is on displayWeather specifically.

    Posted on Mar 27, 2019 by Spencer Bell
    Spencer Bell
    1,322 Points
    • Android
    • Build a Weather App
    • Hooking Up the Model to the View
    • Plugging in the Data

    1 Answer

  • vamshi ziddi
    vamshi ziddi
    329 Points

    Fatal Exception Okhttp dispathcer and Null Pointer Exception

    Posted on Mar 26, 2019 by vamshi ziddi
    vamshi ziddi
    329 Points
    • Android
    • Build a Weather App
    • Hooking Up the Model to the View
    • Plugging in the Data

    1 Answer

  • bhogi gandu
    bhogi gandu
    261 Points

    I am getting a NullPointerExcetion ...........

    Posted on Mar 22, 2019 by bhogi gandu
    bhogi gandu
    261 Points
    • Android
    • Build a Weather App
    • Hooking Up the Model to the View
    • Plugging in the Data

    1 Answer

  • Farai Ted Mandoreba
    Farai Ted Mandoreba
    21,518 Points

    i need help guys, cant get it right

    Posted on Mar 18, 2019 by Farai Ted Mandoreba
    Farai Ted Mandoreba
    21,518 Points
    • Android
    • Build a Weather App
    • Hooking Up the Model to the View
    • Review: Data Binding

    1 Answer

  • Daniel Wijaya
    PLUS
    Daniel Wijaya
    Courses Plus Student 1,500 Points

    Hi, when I run the program, anyone can help? I have this error error: cannot find symbol class ActivityMainBindingImp

    Posted on Feb 22, 2019 by Daniel Wijaya
    Daniel Wijaya
    Courses Plus Student 1,500 Points
    • Android
    • Build a Weather App
    • Hooking Up the Model to the View
    • Plugging in the Data

    3 Answers

  • Santiago Serrano
    Santiago Serrano
    2,754 Points

    Setting the drawable to iconImageView in the background thread doesn't crash my app

    Posted on Feb 11, 2019 by Santiago Serrano
    Santiago Serrano
    2,754 Points
    • Android
    • Build a Weather App
    • Hooking Up the Model to the View
    • Weather Icon

    2 Answers

  • Jack Ripper
    Jack Ripper
    3,792 Points

    I am only getting a bunch of zeros I dont know where I went wrong

    Posted on Feb 5, 2019 by Jack Ripper
    Jack Ripper
    3,792 Points
    • Android
    • Build a Weather App
    • Hooking Up the Model to the View
    • Weather Icon

    1 Answer

  • Ikuyasu Usui
    Ikuyasu Usui
    36 Points

    The app hangs up second time it gets refreshed when implemented with setOnClickListener.

    Posted on Jan 15, 2019 by Ikuyasu Usui
    Ikuyasu Usui
    36 Points
    • Android
    • Build a Weather App
    • Hooking Up the Model to the View
    • I'm Feeling Refreshed

    0 Answers

  • Ikuyasu Usui
    Ikuyasu Usui
    36 Points

    Why do we need displayWeather object when we have currentWeather?

    Posted on Jan 15, 2019 by Ikuyasu Usui
    Ikuyasu Usui
    36 Points
    • Android
    • Build a Weather App
    • Hooking Up the Model to the View
    • Plugging in the Data

    1 Answer

  • Jovy Ong
    seal-mask
    .a{fill-rule:evenodd;}techdegree
    Jovy Ong
    Front End Web Development Techdegree Student 14,858 Points

    FATAL EXCEPTION: OkHttp Dispatcher

    Posted on Dec 4, 2018 by Jovy Ong
    .a{fill-rule:evenodd;}techdegree
    Jovy Ong
    Front End Web Development Techdegree Student 14,858 Points
    • Android
    • Build a Weather App
    • Hooking Up the Model to the View
    • Plugging in the Data

    1 Answer

  • Brian Haucke
    Brian Haucke
    13,717 Points

    Can't import ActivityMainBinding: Error "Cannot resolve symbol ActivityMainBinding"

    Posted on Nov 30, 2018 by Brian Haucke
    Brian Haucke
    13,717 Points
    • Android
    • Build a Weather App
    • Hooking Up the Model to the View
    • We're in a Bind

    1 Answer

  • Kyaw Soe Han
    Kyaw Soe Han
    6,037 Points

    Data binding library not working Android

    Posted on Sep 25, 2018 by Kyaw Soe Han
    Kyaw Soe Han
    6,037 Points
    • Android
    • Build a Weather App
    • Hooking Up the Model to the View
    • We're in a Bind

    0 Answers

  • Malaya Manjula
    Malaya Manjula
    6,028 Points

    To enable the Android Data Binding Library in our app we first need to enable it in the app's AndroidManifest.xml file.

    Posted on Sep 2, 2018 by Malaya Manjula
    Malaya Manjula
    6,028 Points
    • Android
    • Build a Weather App
    • Hooking Up the Model to the View
    • Review: Data Binding

    1 Answer

  • Kevin Grifo
    Kevin Grifo
    9,824 Points

    Where does the setWeather method come from?

    Posted on Jun 5, 2018 by Kevin Grifo
    Kevin Grifo
    9,824 Points
    • Android
    • Build a Weather App
    • Hooking Up the Model to the View
    • Plugging in the Data

    1 Answer

  • Sarvesh Tandon
    Sarvesh Tandon
    1,142 Points

    Why am I getting a null drawable? Weird error. Please Help!! :~(

    Posted on May 27, 2018 by Sarvesh Tandon
    Sarvesh Tandon
    1,142 Points
    • Android
    • Build a Weather App
    • Hooking Up the Model to the View
    • Weather Icon

    1 Answer

  • Zach Freitag
    Zach Freitag
    20,341 Points

    I can't extract a method. The proper code is highlighted and I keep hitting the Method option.

    Posted on May 17, 2018 by Zach Freitag
    Zach Freitag
    20,341 Points
    • Android
    • Build a Weather App
    • Hooking Up the Model to the View
    • I'm Feeling Refreshed

    1 Answer

  • yeoyeon kim
    yeoyeon kim
    2,586 Points

    Teacher's notes - Build a weather app

    Posted on May 4, 2018 by yeoyeon kim
    yeoyeon kim
    2,586 Points
    • Android
    • Build a Weather App
    • Hooking Up the Model to the View
    • That's a Wrap

    1 Answer

  • yeoyeon kim
    yeoyeon kim
    2,586 Points

    android:text="@{`At ` + String.valueOf(weather.formattedTime) + ` it will be`}"

    Posted on May 4, 2018 by yeoyeon kim
    yeoyeon kim
    2,586 Points
    • Android
    • Build a Weather App
    • Hooking Up the Model to the View
    • Plugging in the Data

    2 Answers

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.