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.