Change related to Epoxy 4.6.0 upgrade - step 2: small API change

This commit is contained in:
Benoit Marty 2021-05-19 11:43:42 +02:00
parent 9a9edd979d
commit 8114d52d7d

View file

@ -70,10 +70,10 @@ class RoomMessageTouchHelperCallback(private val context: Context,
private val minShowDistance = convertToPx(20)
private val triggerDelta = convertToPx(20)
override fun onSwiped(viewHolder: EpoxyViewHolder?, direction: Int) {
override fun onSwiped(viewHolder: EpoxyViewHolder, direction: Int) {
}
override fun onMove(recyclerView: RecyclerView?, viewHolder: EpoxyViewHolder?, target: EpoxyViewHolder?): Boolean {
override fun onMove(recyclerView: RecyclerView, viewHolder: EpoxyViewHolder, target: EpoxyViewHolder): Boolean {
return false
}