Copying lots of code from Udacity github on the ForecastFragment java because they did not explain that part at all. RAWR.