Thank you for enjoying Designers.how!
Please enter your email address to unlock the rest of this episode.
Don't want to see this? Become a Designers.how member now.
If we take the easy way out and wait for the weather API response to update the UI, there's a possibility we'll never show an updated location, even if it's retrieved. If we get a location response, but the weather API doesn't return a result, we should still show the location update. By separating the notifications and UI update functions into weather and location updates, we can make our UI more responsive to the data.