Created
August 2, 2016 12:48
-
-
Save chelseatroy/0a22841f8de423a3952b4fa99b5bc60d to your computer and use it in GitHub Desktop.
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 | |
public void onLoadFinished(Loader<Cursor> loader, final Cursor data) { | |
switch (loader.getId()) { | |
case FRUIT_LOADER: | |
//do things with the fruits data | |
break; | |
case VEGGIE_LOADER: | |
//do things with the vegetables data | |
break; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment