Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Android Android Lists and Adapters (2015) Updating the Data Model Adding a New Data Model Object

Stormy app. Time Doesn't Change

i have created Stormy app in last project and its working fine but few things every time i open the app is showing me same time,i.e. 5:13 AM, how should i fix this. And we have hardcoded the location, so how can we make it dynamic, i.e. it should take the current location and give temperature of that place.

J A
seal-mask
.a{fill-rule:evenodd;}techdegree
J A
Full Stack JavaScript Techdegree Student 4,646 Points

Without your code, it's hard to tell why the time isn't updating. Make sure you have the following line in your updateDisplay() function.

mTimeLabel.setText("At " + mCurrentWeather.getFormattedTime() + " it will be");

If you do have that line, debug the value. Regarding location, as Ben mentions at the end of the video, he has a blog post detailing how to go about doing that. It's not covered in the video for this project.