Search in sources :

Example 1 with FaceAndColorDetectImageView

use of org.wikipedia.views.FaceAndColorDetectImageView in project apps-android-wikipedia by wikimedia.

the class ReadingListHeaderView method clearThumbnails.

private void clearThumbnails() {
    for (FaceAndColorDetectImageView imageView : imageViews) {
        ViewUtil.loadImageUrlInto(imageView, null);
        imageView.getHierarchy().setFailureImage(R.drawable.ic_bookmark_gray_24dp, ScalingUtils.ScaleType.FIT_CENTER);
    }
}
Also used : FaceAndColorDetectImageView(org.wikipedia.views.FaceAndColorDetectImageView)

Aggregations

FaceAndColorDetectImageView (org.wikipedia.views.FaceAndColorDetectImageView)1