public ChanLoader(Loadable loadable) {
this.loadable = loadable;
if (loadable.mode == Loadable.Mode.BOARD) {
loadable.mode = Loadable.Mode.CATALOG;
}
<BUG>volleyRequestQueue = Chan.getVolleyRequestQueue();
}</BUG>
public void addListener(ChanLoaderCallback listener) {
listeners.add(listener);
}

public ChanLoader(Loadable loadable) {
this.loadable = loadable;
if (loadable.mode == Loadable.Mode.BOARD) {
loadable.mode = Loadable.Mode.CATALOG;
}
volleyRequestQueue = Chan.getVolleyRequestQueue();
databaseManager = Chan.getDatabaseManager();
}
public void addListener(ChanLoaderCallback listener) {
listeners.add(listener);
}
