From ec379ff602aa659d8e89722cac801dec4335f9d8 Mon Sep 17 00:00:00 2001 From: Ruben Sousa Date: Sat, 15 Jun 2024 02:08:21 +0200 Subject: [PATCH] Update public API file --- dpadrecyclerview/api/dpadrecyclerview.api | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/dpadrecyclerview/api/dpadrecyclerview.api b/dpadrecyclerview/api/dpadrecyclerview.api index 83652095..85ab7aa2 100644 --- a/dpadrecyclerview/api/dpadrecyclerview.api +++ b/dpadrecyclerview/api/dpadrecyclerview.api @@ -31,25 +31,23 @@ public final class com/rubensousa/dpadrecyclerview/ChildAlignment$CREATOR : andr } public final class com/rubensousa/dpadrecyclerview/DpadDragHelper { - public fun (Lcom/rubensousa/dpadrecyclerview/DpadDragHelper$DragCallback;Ljava/util/Set;)V - public synthetic fun (Lcom/rubensousa/dpadrecyclerview/DpadDragHelper$DragCallback;Ljava/util/Set;ILkotlin/jvm/internal/DefaultConstructorMarker;)V + public fun (Lcom/rubensousa/dpadrecyclerview/DpadDragHelper$DragAdapter;Lcom/rubensousa/dpadrecyclerview/DpadDragHelper$DragCallback;Ljava/util/Set;)V + public synthetic fun (Lcom/rubensousa/dpadrecyclerview/DpadDragHelper$DragAdapter;Lcom/rubensousa/dpadrecyclerview/DpadDragHelper$DragCallback;Ljava/util/Set;ILkotlin/jvm/internal/DefaultConstructorMarker;)V public final fun attachRecyclerView (Lcom/rubensousa/dpadrecyclerview/DpadRecyclerView;)V public final fun detachFromRecyclerView ()V public final fun startDrag (I)Z public final fun stopDrag ()V } +public abstract interface class com/rubensousa/dpadrecyclerview/DpadDragHelper$DragAdapter { + public abstract fun getMutableItems ()Ljava/util/List; +} + public abstract interface class com/rubensousa/dpadrecyclerview/DpadDragHelper$DragCallback { - public abstract fun move (Landroidx/recyclerview/widget/RecyclerView$ViewHolder;Landroidx/recyclerview/widget/RecyclerView$ViewHolder;)Z public abstract fun onDragStarted (Landroidx/recyclerview/widget/RecyclerView$ViewHolder;)V public abstract fun onDragStopped ()V } -public final class com/rubensousa/dpadrecyclerview/DpadDragHelper$DragCallback$DefaultImpls { - public static fun onDragStarted (Lcom/rubensousa/dpadrecyclerview/DpadDragHelper$DragCallback;Landroidx/recyclerview/widget/RecyclerView$ViewHolder;)V - public static fun onDragStopped (Lcom/rubensousa/dpadrecyclerview/DpadDragHelper$DragCallback;)V -} - public final class com/rubensousa/dpadrecyclerview/DpadLoopDirection : java/lang/Enum { public static final field MAX Lcom/rubensousa/dpadrecyclerview/DpadLoopDirection; public static final field MIN_MAX Lcom/rubensousa/dpadrecyclerview/DpadLoopDirection;