public static void fetch(FragmentActivity activity, int songId, TextView textView) {
LoaderManager lm = activity.getSupportLoaderManager();
- lm.initLoader(0, null, new GenreFetcher(activity, songId, textView));
+ lm.restartLoader(0, null, new GenreFetcher(activity, songId, textView));
}
private GenreFetcher(Context context, int songId, TextView textView) {
@Override
public void onLoaderReset(Loader<Cursor> loader) {}
-}
\ No newline at end of file
+}