@Override
    public void onSaveInstanceState(Bundle outState) {
        // When tablets rotate, the currently selected list item needs to be saved.
        mForecastAdapter.onSaveInstanceState(outState);
        super.onSaveInstanceState(outState);
    }
DetailFragmentCallback for when an item has been selected.
app/src/main/java/com/example/android/sunshine/app/ForecastFragment.java