Skip to content

Instantly share code, notes, and snippets.

Last active Sep 22, 2018
What would you like to do?
package com.illuzor.lesson.wallpapers.adapters
import android.view.View
import android.widget.ImageView
import androidx.recyclerview.widget.RecyclerView
import com.bumptech.glide.load.resource.drawable.DrawableTransitionOptions
import com.illuzor.lesson.wallpapers.GlideApp
import com.illuzor.lesson.wallpapers.R
class GalleryViewHolder(view: View) : RecyclerView.ViewHolder(view) {
private val ivPreview: ImageView = view.findViewById(
fun loadImage(url: String) =
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment