Created
March 14, 2016 02:07
-
-
Save aibolik/0689d11b4433369fc77a to your computer and use it in GitHub Desktop.
Sunshine. AsyncTask onPostExecute - replacing original data
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Override | |
protected void onPostExecute(String[] result) { | |
if(result != null) { | |
mForecastAdapter.clear(); | |
for (String dayForecastStr : result) { | |
mForecastAdapter.add(dayForecastStr); | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment