xref: /aosp_15_r20/external/accompanist/swiperefresh/api/current.api (revision fa44fe6ae8e729aa3cfe5c03eedbbf98fb44e2c6)
1*fa44fe6aSInna Palant// Signature format: 4.0
2*fa44fe6aSInna Palantpackage com.google.accompanist.swiperefresh {
3*fa44fe6aSInna Palant
4*fa44fe6aSInna Palant  public final class SlingshotKt {
5*fa44fe6aSInna Palant  }
6*fa44fe6aSInna Palant
7*fa44fe6aSInna Palant  public final class SwipeRefreshIndicatorKt {
8*fa44fe6aSInna Palant    method @Deprecated @androidx.compose.runtime.Composable public static void SwipeRefreshIndicator(com.google.accompanist.swiperefresh.SwipeRefreshState state, float refreshTriggerDistance, optional androidx.compose.ui.Modifier modifier, optional boolean fade, optional boolean scale, optional boolean arrowEnabled, optional long backgroundColor, optional long contentColor, optional androidx.compose.ui.graphics.Shape shape, optional float refreshingOffset, optional boolean largeIndication, optional float elevation);
9*fa44fe6aSInna Palant  }
10*fa44fe6aSInna Palant
11*fa44fe6aSInna Palant  public final class SwipeRefreshKt {
12*fa44fe6aSInna Palant    method @Deprecated @androidx.compose.runtime.Composable public static void SwipeRefresh(com.google.accompanist.swiperefresh.SwipeRefreshState state, kotlin.jvm.functions.Function0<kotlin.Unit> onRefresh, optional androidx.compose.ui.Modifier modifier, optional boolean swipeEnabled, optional float refreshTriggerDistance, optional androidx.compose.ui.Alignment indicatorAlignment, optional androidx.compose.foundation.layout.PaddingValues indicatorPadding, optional kotlin.jvm.functions.Function2<? super com.google.accompanist.swiperefresh.SwipeRefreshState,? super androidx.compose.ui.unit.Dp,kotlin.Unit> indicator, optional boolean clipIndicatorToPadding, kotlin.jvm.functions.Function0<kotlin.Unit> content);
13*fa44fe6aSInna Palant    method @Deprecated @androidx.compose.runtime.Composable public static com.google.accompanist.swiperefresh.SwipeRefreshState rememberSwipeRefreshState(boolean isRefreshing);
14*fa44fe6aSInna Palant  }
15*fa44fe6aSInna Palant
16*fa44fe6aSInna Palant  @Deprecated @androidx.compose.runtime.Stable public final class SwipeRefreshState {
17*fa44fe6aSInna Palant    ctor @Deprecated public SwipeRefreshState(boolean isRefreshing);
18*fa44fe6aSInna Palant    method @Deprecated public float getIndicatorOffset();
19*fa44fe6aSInna Palant    method @Deprecated public boolean isRefreshing();
20*fa44fe6aSInna Palant    method @Deprecated public boolean isSwipeInProgress();
21*fa44fe6aSInna Palant    method @Deprecated public void setRefreshing(boolean);
22*fa44fe6aSInna Palant    property public final float indicatorOffset;
23*fa44fe6aSInna Palant    property public final boolean isRefreshing;
24*fa44fe6aSInna Palant    property public final boolean isSwipeInProgress;
25*fa44fe6aSInna Palant  }
26*fa44fe6aSInna Palant
27*fa44fe6aSInna Palant}
28*fa44fe6aSInna Palant
29