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
  • Yusuf Mohamed
    Yusuf Mohamed
    2,631 Points

    Solution for converting the code into Celsius.

    Posted April 5, 2018 11:50pm by Yusuf Mohamed
    Yusuf Mohamed
    2,631 Points
    • Android
    • Build a Weather App (2015)
    • Hooking Up the Model to the View
    • Adding a Refresh Button

    1 Answer

  • Fola Ogunfemi
    Fola Ogunfemi
    3,355 Points

    Callback Error. OnResponse & OnFailure, not functional

    Posted December 27, 2017 7:02pm by Fola Ogunfemi
    Fola Ogunfemi
    3,355 Points
    • Android
    • Build a Weather App (2015)
    • Hooking Up the Model to the View
    • Adding a Refresh Button

    1 Answer

  • Mustafa Ogün Öztürk
    Mustafa Ogün Öztürk
    3,468 Points

    runOnUiThread logic

    Posted November 18, 2017 8:22pm by Mustafa Ogün Öztürk
    Mustafa Ogün Öztürk
    3,468 Points
    • Android
    • Build a Weather App (2015)
    • Hooking Up the Model to the View
    • Adding a Refresh Button

    0 Answers

  • Dillon Shaw
    Dillon Shaw
    6,400 Points

    Why does Android Studio make the latitude and longitude final?

    Posted July 10, 2017 4:59pm by Dillon Shaw
    Dillon Shaw
    6,400 Points
    • Android
    • Build a Weather App (2015)
    • Hooking Up the Model to the View
    • Adding a Refresh Button

    3 Answers

  • Emanuel Enberg
    PLUS
    Emanuel Enberg
    Courses Plus Student 1,332 Points

    Spinner is invisible

    Posted August 3, 2016 7:39pm by Emanuel Enberg
    Emanuel Enberg
    Courses Plus Student 1,332 Points
    • Android
    • Build a Weather App (2015)
    • Hooking Up the Model to the View
    • Adding a Refresh Button

    0 Answers

  • Avraham Sedaghat
    Avraham Sedaghat
    4,217 Points

    getSlotFromBufferLocked: unknown buffer: 0xaa19b570

    Posted June 19, 2016 5:25pm by Avraham Sedaghat
    Avraham Sedaghat
    4,217 Points
    • Android
    • Build a Weather App (2015)
    • Hooking Up the Model to the View
    • Adding a Refresh Button

    0 Answers

  • Anton Miroshnichenko
    Anton Miroshnichenko
    176 Points

    I can't find APIkey for Saint-Peterburg. What do I have to do?

    Posted April 26, 2016 9:19am by Anton Miroshnichenko
    Anton Miroshnichenko
    176 Points
    • Android
    • Build a Weather App (2015)
    • Hooking Up the Model to the View
    • Adding a Refresh Button

    0 Answers

  • MoatazBellah Ghobashy
    seal-mask
    .a{fill-rule:evenodd;}techdegree
    MoatazBellah Ghobashy
    Python Web Development Techdegree Student 2,940 Points

    Once the App is run, the progress bar is visible and always visible !!!

    Posted March 27, 2016 10:48pm by MoatazBellah Ghobashy
    .a{fill-rule:evenodd;}techdegree
    MoatazBellah Ghobashy
    Python Web Development Techdegree Student 2,940 Points
    • Android
    • Build a Weather App (2015)
    • Hooking Up the Model to the View
    • Adding a Refresh Button

    1 Answer

  • Tom Finet
    Tom Finet
    7,027 Points

    Runtime error!

    Posted December 13, 2015 8:19pm by Tom Finet
    Tom Finet
    7,027 Points
    • Android
    • Build a Weather App (2015)
    • Hooking Up the Model to the View
    • Adding a Refresh Button

    0 Answers

  • Vikzilla III
    PLUS
    Vikzilla III
    Courses Plus Student 4,365 Points

    Using runOnUIThread() within toggleRefresh() more clean?

    Posted September 12, 2015 1:43am by Vikzilla III
    Vikzilla III
    Courses Plus Student 4,365 Points
    • Android
    • Build a Weather App (2015)
    • Hooking Up the Model to the View
    • Adding a Refresh Button

    0 Answers

  • Javier Pacheco
    Javier Pacheco
    3,963 Points

    App crashes when trying to refresh info

    Posted June 8, 2015 9:17pm by Javier Pacheco
    Javier Pacheco
    3,963 Points
    • Android
    • Build a Weather App (2015)
    • Hooking Up the Model to the View
    • Adding a Refresh Button

    1 Answer

  • MUZ140537 Kudakwashe Betera
    MUZ140537 Kudakwashe Betera
    4,875 Points

    error when Building

    Posted May 20, 2015 11:02am by MUZ140537 Kudakwashe Betera
    MUZ140537 Kudakwashe Betera
    4,875 Points
    • Android
    • Build a Weather App (2015)
    • Hooking Up the Model to the View
    • Adding a Refresh Button

    1 Answer

  • Kevin Gonzales
    Kevin Gonzales
    4,638 Points

    When should you use runOnUiTread?

    Posted May 16, 2015 12:41am by Kevin Gonzales
    Kevin Gonzales
    4,638 Points
    • Android
    • Build a Weather App (2015)
    • Hooking Up the Model to the View
    • Adding a Refresh Button

    1 Answer

  • Alex DeRuyter
    Alex DeRuyter
    495 Points

    Refresh Button

    Posted May 10, 2015 9:14pm by Alex DeRuyter
    Alex DeRuyter
    495 Points
    • Android
    • Build a Weather App (2015)
    • Hooking Up the Model to the View
    • Adding a Refresh Button

    1 Answer

  • Joshua Kidd
    Joshua Kidd
    3,411 Points

    Network Requests seem slow, when running the app on my device it takes around 5 seconds or more to update.

    Posted April 16, 2015 7:26pm by Joshua Kidd
    Joshua Kidd
    3,411 Points
    • Android
    • Build a Weather App (2015)
    • Hooking Up the Model to the View
    • Adding a Refresh Button

    0 Answers

  • Ryan Spaulding
    Ryan Spaulding
    3,957 Points

    Where is a good place to start if I wanted to implement a pull to refresh feature instead of the refresh button?

    Posted March 26, 2015 10:57pm by Ryan Spaulding
    Ryan Spaulding
    3,957 Points
    • Android
    • Build a Weather App (2015)
    • Hooking Up the Model to the View
    • Adding a Refresh Button

    1 Answer

  • Ganta Hemanth
    Ganta Hemanth
    6,460 Points

    progress bar not disappearing

    Posted March 12, 2015 6:32am by Ganta Hemanth
    Ganta Hemanth
    6,460 Points
    • Android
    • Build a Weather App (2015)
    • Hooking Up the Model to the View
    • Adding a Refresh Button

    3 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