Skip to content

Commit

Permalink
Update api content
Browse files Browse the repository at this point in the history
  • Loading branch information
rubensousa committed May 30, 2024
1 parent a5c5f17 commit f32818e
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 1 deletion.
23 changes: 23 additions & 0 deletions dpadrecyclerview/api/dpadrecyclerview.api
Original file line number Diff line number Diff line change
Expand Up @@ -563,3 +563,26 @@ public abstract interface class com/rubensousa/dpadrecyclerview/spacing/DpadSpac
public abstract fun shouldApplySpacing (Landroidx/recyclerview/widget/RecyclerView$ViewHolder;I)Z
}

public final class com/rubensousa/dpadrecyclerview/state/DpadScrollState {
public final fun clear ()V
public final fun clear (Ljava/lang/String;)V
public final fun restore (Lcom/rubensousa/dpadrecyclerview/DpadRecyclerView;Ljava/lang/String;Landroidx/recyclerview/widget/RecyclerView$Adapter;)V
public final fun save (Lcom/rubensousa/dpadrecyclerview/DpadRecyclerView;Ljava/lang/String;Z)V
public static synthetic fun save$default (Lcom/rubensousa/dpadrecyclerview/state/DpadScrollState;Lcom/rubensousa/dpadrecyclerview/DpadRecyclerView;Ljava/lang/String;ZILjava/lang/Object;)V
}

public final class com/rubensousa/dpadrecyclerview/state/DpadStateRegistry {
public fun <init> (Landroidx/savedstate/SavedStateRegistryOwner;)V
public final fun getScrollState ()Lcom/rubensousa/dpadrecyclerview/state/DpadScrollState;
public final fun getViewHolderState ()Lcom/rubensousa/dpadrecyclerview/state/DpadViewHolderState;
public final fun setSaveInstanceStateEnabled (Z)V
}

public final class com/rubensousa/dpadrecyclerview/state/DpadViewHolderState {
public final fun clear ()V
public final fun clear (Ljava/lang/String;)V
public final fun restoreState (Landroidx/recyclerview/widget/RecyclerView$ViewHolder;Ljava/lang/String;Z)V
public static synthetic fun restoreState$default (Lcom/rubensousa/dpadrecyclerview/state/DpadViewHolderState;Landroidx/recyclerview/widget/RecyclerView$ViewHolder;Ljava/lang/String;ZILjava/lang/Object;)V
public final fun saveState (Landroidx/recyclerview/widget/RecyclerView$ViewHolder;Ljava/lang/String;)V
}

1 change: 1 addition & 0 deletions dpadrecyclerview/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ android {
dependencies {
api libs.androidx.recyclerview
implementation libs.androidx.collection
implementation libs.androidx.fragment

// Required for dependency resolution
debugImplementation libs.guava
Expand Down
2 changes: 1 addition & 1 deletion gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ androidx-compose-material3 = '1.2.1'
androidx-compose-ui = "1.7.0-alpha04"
androidx-constraintlayout = "2.1.4"
androidx-customview = "1.1.0"
androidx-fragment = "1.7.0-alpha10"
androidx-fragment = "1.7.1"
androidx-interpolator = "1.0.0"
androidx-leanback = "1.0.0-alpha03"
androidx-lifecycle = "2.7.0"
Expand Down

0 comments on commit f32818e

Please sign in to comment.