0

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.

Sever
  • 2,338
  • 5
  • 35
  • 55

2 Answers2

4

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

nostra13
  • 12,377
  • 3
  • 33
  • 43
0

The problem is in the version of the library, Use this version of the library,I worked..