Advertisement
Guest User

Untitled

a guest
Apr 5th, 2020
142
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Kotlin 0.13 KB | None | 0 0
  1. fun <T> LifecycleOwner.observe(liveData: LiveData<T>, action: (t: T) -> Unit) { liveData.observe(this, Observer { action(it) })}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement