Skip to content

Instantly share code, notes, and snippets.

View lucaslabs's full-sized avatar

Lucas Nobile lucaslabs

View GitHub Profile
@lucaslabs
lucaslabs / CommonBindingAdapter.kt
Created July 29, 2020 17:13
Binding Adapters as top level functions in Kotlin
package com.example.datamerge.presentation.binding
import android.graphics.drawable.Drawable
import android.widget.ImageView
import android.widget.TextView
import androidx.databinding.BindingAdapter
import com.bumptech.glide.request.RequestListener
import com.example.datamerge.presentation.base.GlideApp
// Top Level Functions