Search code examples
androiduniversal-image-loader

Android Universe library showImageOnLoading issue


I have some issues with DisplayImageOptions.Builder().showImageOnLoading(R.drawable.ic_stub)

The method showImageOnLoading(int) is undefined for the type DisplayImageOptions.Builder

Other options, like:

 .showStubImage(R.drawable.ic_stub)
 .showImageForEmptyUri(R.drawable.ic_empty)
 .showImageOnFail(R.drawable.ic_error)

are valid and work.


Solution

  • showImageOnLoading(...) will be available in next lib version. This is replacement for showStubImage(...) which does exactly the same.