support-image-loader

Image not loading using the Novoda / ImageLoader

ε祈祈猫儿з 提交于 2019-12-11 16:21:18
问题 I'm trying to load images from the internet using the ImageLoader library into a grid view. But, getting a null pointer exception at imageManager.getLoader().load(fView.pic); . Can someone tell me where i'm wrong. StartApp class : public class StartApp extends Application { private static ImageManager imageManager; @Override public void onCreate() { super.onCreate(); LoaderSettings settings = new LoaderSettings(); settings.setDisconnectOnEveryCall(true); settings.setCacheManager(new