I am using Volley Library to download an image. I want to change the text of a TextView after the image is loaded. Like, before the text is loading. and after the image is loaded it should change to loaded.
NetworkImageView image = (NetworkImageView)findViewById(R.id.imageView1);
image.setDefaultImageResId(R.drawable.def);
image.setImageUrl(url, ImageUtil.getImageLoader(getApplicationContext()));
How can i listen or call a function when the image is completely loaded?
You can try as in code snippet below..
you can create your mImageLoader instance as below to implement cache