@Override public void onCreate(Bundle inState) { super.onCreate(inState); CathodeApp.inject(getActivity(), this); setHasOptionsMenu(true); getLoaderManager().initLoader(HomeActivity.LOADER_SHOWS_WATCHLIST, null, showsCallback); getLoaderManager().initLoader(HomeActivity.LOADER_EPISODES_WATCHLIST, null, episodeCallback); }
public ShowsWithNextAdapter(FragmentActivity activity, Cursor cursor, LibraryType libraryType) { super(activity, cursor, 0); CathodeApp.inject(activity, this); this.activity = activity; this.libraryType = libraryType; }