You've already forked Magisk
mirror of
https://github.com/topjohnwu/Magisk.git
synced 2025-09-06 06:36:58 +00:00
13 lines
473 B
Kotlin
13 lines
473 B
Kotlin
package com.topjohnwu.magisk.databinding
|
|
|
|
import androidx.databinding.ViewDataBinding
|
|
import me.tatarka.bindingcollectionadapter2.BindingRecyclerViewAdapter
|
|
|
|
open class BindingBoundAdapter : BindingRecyclerViewAdapter<RvItem>() {
|
|
|
|
override fun onBindBinding(binding: ViewDataBinding, variableId: Int, layoutRes: Int, position: Int, item: RvItem) {
|
|
super.onBindBinding(binding, variableId, layoutRes, position, item)
|
|
|
|
item.onBindingBound(binding)
|
|
}
|
|
} |