Style fixes
This commit is contained in:
parent
d8cdc81424
commit
e337177715
|
@ -5,9 +5,7 @@ import android.content.Context
|
|||
import android.view.LayoutInflater
|
||||
import android.view.MenuItem
|
||||
import android.view.MotionEvent
|
||||
import android.view.View
|
||||
import android.view.ViewGroup
|
||||
import androidx.core.view.MotionEventCompat
|
||||
import androidx.lifecycle.LifecycleOwner
|
||||
import com.drakeet.multitype.ItemViewBinder
|
||||
import org.koin.core.component.KoinComponent
|
||||
|
|
|
@ -864,9 +864,11 @@ class PlayerFragment :
|
|||
draggable = true,
|
||||
context = requireContext(),
|
||||
lifecycleOwner = viewLifecycleOwner,
|
||||
).apply { this.startDrag = { holder ->
|
||||
).apply {
|
||||
this.startDrag = { holder ->
|
||||
dragTouchHelper.startDrag(holder)
|
||||
} }
|
||||
}
|
||||
}
|
||||
)
|
||||
|
||||
dragTouchHelper = ItemTouchHelper(object : ItemTouchHelper.SimpleCallback(
|
||||
|
|
Loading…
Reference in New Issue