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.LayoutInflater
|
||||||
import android.view.MenuItem
|
import android.view.MenuItem
|
||||||
import android.view.MotionEvent
|
import android.view.MotionEvent
|
||||||
import android.view.View
|
|
||||||
import android.view.ViewGroup
|
import android.view.ViewGroup
|
||||||
import androidx.core.view.MotionEventCompat
|
|
||||||
import androidx.lifecycle.LifecycleOwner
|
import androidx.lifecycle.LifecycleOwner
|
||||||
import com.drakeet.multitype.ItemViewBinder
|
import com.drakeet.multitype.ItemViewBinder
|
||||||
import org.koin.core.component.KoinComponent
|
import org.koin.core.component.KoinComponent
|
||||||
|
|
|
@ -864,9 +864,11 @@ class PlayerFragment :
|
||||||
draggable = true,
|
draggable = true,
|
||||||
context = requireContext(),
|
context = requireContext(),
|
||||||
lifecycleOwner = viewLifecycleOwner,
|
lifecycleOwner = viewLifecycleOwner,
|
||||||
).apply { this.startDrag = { holder ->
|
).apply {
|
||||||
dragTouchHelper.startDrag(holder)
|
this.startDrag = { holder ->
|
||||||
} }
|
dragTouchHelper.startDrag(holder)
|
||||||
|
}
|
||||||
|
}
|
||||||
)
|
)
|
||||||
|
|
||||||
dragTouchHelper = ItemTouchHelper(object : ItemTouchHelper.SimpleCallback(
|
dragTouchHelper = ItemTouchHelper(object : ItemTouchHelper.SimpleCallback(
|
||||||
|
|
Loading…
Reference in New Issue