Open the interface:
Swipe up to enter the main interface:
Province Interface:
City Interface:
Loading Weather interface:
Display the Weather interface:
Slide, show the area, and then display a verse according to the weather (sunny, cloudy, snow, rain, whatever):
The data is loaded the first time the app is launched.
First go to the province interface, and then according to the city of the province to draw the city page, click on the city, look for the database inside the city number, complete the URL to crawl weather data.
Then update the UI for interface three.
A more comprehensive app, with sliding related things, custom ListView, custom fonts, access to the Web, crawlers (weather data is not used by the API, is my own online crawling), slide, database (not SQLite but realm), handler update the UI. It's also a homework assignment.
I wrote a weather app for playing