Cloudstream
Toggle table of contents
JVM
Target filter
JVM
Switch theme
Search in API
Skip to content
Cloudstream
App
/
com.lagradost.cloudstream3.ui.download.queue
/
DragAndDropTouchHelper
Drag
And
Drop
Touch
Helper
class
DragAndDropTouchHelper
(
adapter
:
DownloadQueueAdapter
)
:
ItemTouchHelper
(
source
)
Members
Constructors
Drag
And
Drop
Touch
Helper
Link copied to clipboard
constructor
(
adapter
:
DownloadQueueAdapter
)
Functions
attach
To
Recycler
View
Link copied to clipboard
open
fun
attachToRecyclerView
(
@
Nullable
recyclerView
:
RecyclerView
?
)
get
Item
Offsets
Link copied to clipboard
open
fun
getItemOffsets
(
@
NonNull
outRect
:
Rect
,
itemPosition
:
Int
,
@
NonNull
parent
:
RecyclerView
)
open
fun
getItemOffsets
(
outRect
:
Rect
,
view
:
View
,
parent
:
RecyclerView
,
state
:
RecyclerView.State
)
on
Child
View
Attached
To
Window
Link copied to clipboard
open
fun
onChildViewAttachedToWindow
(
@
NonNull
view
:
View
)
on
Child
View
Detached
From
Window
Link copied to clipboard
open
fun
onChildViewDetachedFromWindow
(
@
NonNull
view
:
View
)
on
Draw
Link copied to clipboard
open
fun
onDraw
(
@
NonNull
c
:
Canvas
,
@
NonNull
parent
:
RecyclerView
)
open
fun
onDraw
(
c
:
Canvas
,
parent
:
RecyclerView
,
state
:
RecyclerView.State
)
on
Draw
Over
Link copied to clipboard
open
fun
onDrawOver
(
@
NonNull
c
:
Canvas
,
@
NonNull
parent
:
RecyclerView
)
open
fun
onDrawOver
(
c
:
Canvas
,
parent
:
RecyclerView
,
state
:
RecyclerView.State
)
start
Drag
Link copied to clipboard
open
fun
startDrag
(
@
NonNull
viewHolder
:
RecyclerView.ViewHolder
)
start
Swipe
Link copied to clipboard
open
fun
startSwipe
(
@
NonNull
viewHolder
:
RecyclerView.ViewHolder
)