Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add DpadScrollableLayout for layouts that need a scrollable header #248

Merged
merged 5 commits into from
Aug 11, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 29 additions & 0 deletions dpadrecyclerview/api/dpadrecyclerview.api
Original file line number Diff line number Diff line change
Expand Up @@ -208,6 +208,35 @@ public abstract interface class com/rubensousa/dpadrecyclerview/DpadRecyclerView
public abstract fun configSmoothScrollByInterpolator (II)Landroid/view/animation/Interpolator;
}

public final class com/rubensousa/dpadrecyclerview/DpadScrollableLayout : android/widget/LinearLayout {
public fun <init> (Landroid/content/Context;)V
public fun <init> (Landroid/content/Context;Landroid/util/AttributeSet;)V
public synthetic fun <init> (Landroid/content/Context;Landroid/util/AttributeSet;ILkotlin/jvm/internal/DefaultConstructorMarker;)V
public synthetic fun generateDefaultLayoutParams ()Landroid/view/ViewGroup$LayoutParams;
public synthetic fun generateDefaultLayoutParams ()Landroid/widget/LinearLayout$LayoutParams;
public synthetic fun generateLayoutParams (Landroid/util/AttributeSet;)Landroid/view/ViewGroup$LayoutParams;
public synthetic fun generateLayoutParams (Landroid/util/AttributeSet;)Landroid/widget/LinearLayout$LayoutParams;
public fun generateLayoutParams (Landroid/util/AttributeSet;)Lcom/rubensousa/dpadrecyclerview/DpadScrollableLayout$LayoutParams;
public final fun getHeaderHeight ()I
public final fun hideHeader (Z)V
public static synthetic fun hideHeader$default (Lcom/rubensousa/dpadrecyclerview/DpadScrollableLayout;ZILjava/lang/Object;)V
public final fun isHeaderVisible ()Z
public final fun scrollHeaderTo (IZ)V
public static synthetic fun scrollHeaderTo$default (Lcom/rubensousa/dpadrecyclerview/DpadScrollableLayout;IZILjava/lang/Object;)V
public final fun setScrollInterpolator (Landroid/view/animation/Interpolator;)V
public final fun showHeader (Z)V
public static synthetic fun showHeader$default (Lcom/rubensousa/dpadrecyclerview/DpadScrollableLayout;ZILjava/lang/Object;)V
}

public final class com/rubensousa/dpadrecyclerview/DpadScrollableLayout$LayoutParams : android/widget/LinearLayout$LayoutParams {
public fun <init> (II)V
public fun <init> (Landroid/content/Context;Landroid/util/AttributeSet;)V
public fun <init> (Landroid/view/ViewGroup$LayoutParams;)V
public fun <init> (Landroid/view/ViewGroup$MarginLayoutParams;)V
public final fun isScrollableView ()Z
public final fun setIsScrollableView (Z)V
}

public final class com/rubensousa/dpadrecyclerview/DpadScroller {
public fun <init> ()V
public fun <init> (Lcom/rubensousa/dpadrecyclerview/DpadScroller$ScrollDistanceCalculator;)V
Expand Down
Loading
Loading