This commit is contained in:
len 2016-04-13 16:45:39 +02:00
parent dc80a5ffbd
commit 09902566ad
2 changed files with 2 additions and 0 deletions

View File

@ -50,6 +50,7 @@ class CatalogueGridHolder(private val view: View, private val adapter: Catalogue
.load(if (headers != null) GlideUrl(url, headers) else url)
.diskCacheStrategy(DiskCacheStrategy.SOURCE)
.centerCrop()
.placeholder(android.R.color.transparent)
.into(view.thumbnail)
} else {

View File

@ -63,6 +63,7 @@ class LibraryHolder(private val view: View, adapter: LibraryCategoryAdapter, lis
.diskCacheStrategy(DiskCacheStrategy.RESULT)
.centerCrop()
.signature(StringSignature(it.lastModified().toString()))
.placeholder(android.R.color.transparent)
.into(itemView.thumbnail)
}
}