You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: redwood-lazylayout-compose/api/redwood-lazylayout-compose.api
+24-11Lines changed: 24 additions & 11 deletions
Original file line number
Diff line number
Diff line change
@@ -24,28 +24,41 @@ public abstract interface class app/cash/redwood/lazylayout/compose/LazyListScop
24
24
public class app/cash/redwood/lazylayout/compose/LazyListState {
25
25
public static final field $stable I
26
26
public fun <init> ()V
27
-
public final fun getDefaultPreloadItemCount ()I
28
-
public final fun getFirstIndex ()I
29
-
public final fun getLastIndex ()I
30
-
public final fun getPrimaryPreloadItemCount ()I
27
+
public fun <init> (Lapp/cash/redwood/lazylayout/compose/LoadingStrategy;)V
28
+
public synthetic fun <init> (Lapp/cash/redwood/lazylayout/compose/LoadingStrategy;ILkotlin/jvm/internal/DefaultConstructorMarker;)V
31
29
public final fun getProgrammaticScrollIndex ()Lapp/cash/redwood/lazylayout/api/ScrollItemIndex;
32
-
public final fun getScrollInProgressPreloadItemCount ()I
33
-
public final fun getSecondaryPreloadItemCount ()I
30
+
public final fun getStrategy ()Lapp/cash/redwood/lazylayout/compose/LoadingStrategy;
34
31
public final fun loadRange (I)Lkotlin/ranges/IntRange;
35
32
public final fun onUserScroll (II)V
36
33
public final fun programmaticScroll (IZZ)V
37
34
public static synthetic fun programmaticScroll$default (Lapp/cash/redwood/lazylayout/compose/LazyListState;IZZILjava/lang/Object;)V
38
-
public final fun setDefaultPreloadItemCount (I)V
39
-
public final fun setPrimaryPreloadItemCount (I)V
40
-
public final fun setScrollInProgressPreloadItemCount (I)V
41
-
public final fun setSecondaryPreloadItemCount (I)V
42
35
}
43
36
44
37
public final class app/cash/redwood/lazylayout/compose/LazyListStateKt {
45
-
public static final fun rememberLazyListState (Landroidx/compose/runtime/Composer;I)Lapp/cash/redwood/lazylayout/compose/LazyListState;
38
+
public static final fun rememberLazyListState (Lapp/cash/redwood/lazylayout/compose/LoadingStrategy;Landroidx/compose/runtime/Composer;II)Lapp/cash/redwood/lazylayout/compose/LazyListState;
39
+
}
40
+
41
+
public abstract interface class app/cash/redwood/lazylayout/compose/LoadingStrategy {
42
+
public abstract fun getFirstIndex ()I
43
+
public abstract fun loadRange (I)Lkotlin/ranges/IntRange;
44
+
public abstract fun onUserScroll (II)V
45
+
public abstract fun scrollTo (I)V
46
46
}
47
47
48
48
public final class app/cash/redwood/lazylayout/compose/RefreshableLazyListKt {
49
49
public static final fun RefreshableLazyList-usczW4I (ZLkotlin/jvm/functions/Function2;IIZLkotlin/jvm/functions/Function0;IILapp/cash/redwood/ui/Margin;ILapp/cash/redwood/lazylayout/api/ScrollItemIndex;ILapp/cash/redwood/Modifier;Lkotlin/jvm/functions/Function2;Lkotlin/jvm/functions/Function2;Landroidx/compose/runtime/Composer;III)V
50
50
}
51
51
52
+
public final class app/cash/redwood/lazylayout/compose/ScrollOptimizedLoadingStrategy : app/cash/redwood/lazylayout/compose/LoadingStrategy {
53
+
public static final field $stable I
54
+
public fun <init> ()V
55
+
public fun <init> (IIIIZ)V
56
+
public synthetic fun <init> (IIIIZILkotlin/jvm/internal/DefaultConstructorMarker;)V
57
+
public fun getFirstIndex ()I
58
+
public final fun getLastIndex ()I
59
+
public final fun getProgrammaticScrollIndex ()Lapp/cash/redwood/lazylayout/api/ScrollItemIndex;
0 commit comments