Skip to content

Commit

Permalink
Remove deprecated functions (google#399)
Browse files Browse the repository at this point in the history
All of these functions were marked as deprecated at
least a few releases ago and are due for removal.

- CoilImage
- GlideImage
- MaterialLoadingImage
- rememberAndroidSystemUiController
- LocalSystemUiController
- PagerState.pageChanges
  • Loading branch information
chrisbanes authored and jossiwolf committed Aug 1, 2021
1 parent c29cc24 commit 0c8932d
Show file tree
Hide file tree
Showing 15 changed files with 6 additions and 2,181 deletions.
7 changes: 0 additions & 7 deletions coil/api/current.api
Original file line number Diff line number Diff line change
@@ -1,13 +1,6 @@
// Signature format: 4.0
package com.google.accompanist.coil {

public final class CoilImage {
method @Deprecated @androidx.compose.runtime.Composable public static void CoilImage(coil.request.ImageRequest request, optional androidx.compose.ui.Modifier modifier, optional kotlin.jvm.functions.Function2<? super coil.request.ImageRequest.Builder,? super androidx.compose.ui.unit.IntSize,coil.request.ImageRequest.Builder>? requestBuilder, optional coil.ImageLoader imageLoader, optional @DrawableRes int previewPlaceholder, optional kotlin.jvm.functions.Function2<? super com.google.accompanist.imageloading.ImageLoadState,? super androidx.compose.ui.unit.IntSize,java.lang.Boolean> shouldRefetchOnSizeChange, optional kotlin.jvm.functions.Function1<? super com.google.accompanist.imageloading.ImageLoadState,kotlin.Unit> onRequestCompleted, kotlin.jvm.functions.Function2<? super androidx.compose.foundation.layout.BoxScope,? super com.google.accompanist.imageloading.ImageLoadState,kotlin.Unit> content);
method @Deprecated @androidx.compose.runtime.Composable public static void CoilImage(coil.request.ImageRequest request, String? contentDescription, optional androidx.compose.ui.Modifier modifier, optional androidx.compose.ui.Alignment alignment, optional androidx.compose.ui.layout.ContentScale contentScale, optional androidx.compose.ui.graphics.ColorFilter? colorFilter, optional boolean fadeIn, optional kotlin.jvm.functions.Function2<? super coil.request.ImageRequest.Builder,? super androidx.compose.ui.unit.IntSize,coil.request.ImageRequest.Builder>? requestBuilder, optional coil.ImageLoader imageLoader, optional @DrawableRes int previewPlaceholder, optional kotlin.jvm.functions.Function2<? super com.google.accompanist.imageloading.ImageLoadState,? super androidx.compose.ui.unit.IntSize,java.lang.Boolean> shouldRefetchOnSizeChange, optional kotlin.jvm.functions.Function1<? super com.google.accompanist.imageloading.ImageLoadState,kotlin.Unit> onRequestCompleted, optional kotlin.jvm.functions.Function2<? super androidx.compose.foundation.layout.BoxScope,? super com.google.accompanist.imageloading.ImageLoadState.Error,kotlin.Unit>? error, optional kotlin.jvm.functions.Function1<? super androidx.compose.foundation.layout.BoxScope,kotlin.Unit>? loading);
method @Deprecated @androidx.compose.runtime.Composable public static void CoilImage(Object data, optional androidx.compose.ui.Modifier modifier, optional kotlin.jvm.functions.Function2<? super coil.request.ImageRequest.Builder,? super androidx.compose.ui.unit.IntSize,coil.request.ImageRequest.Builder>? requestBuilder, optional coil.ImageLoader imageLoader, optional @DrawableRes int previewPlaceholder, optional kotlin.jvm.functions.Function2<? super com.google.accompanist.imageloading.ImageLoadState,? super androidx.compose.ui.unit.IntSize,java.lang.Boolean> shouldRefetchOnSizeChange, optional kotlin.jvm.functions.Function1<? super com.google.accompanist.imageloading.ImageLoadState,kotlin.Unit> onRequestCompleted, kotlin.jvm.functions.Function2<? super androidx.compose.foundation.layout.BoxScope,? super com.google.accompanist.imageloading.ImageLoadState,kotlin.Unit> content);
method @Deprecated @androidx.compose.runtime.Composable public static void CoilImage(Object data, String? contentDescription, optional androidx.compose.ui.Modifier modifier, optional androidx.compose.ui.Alignment alignment, optional androidx.compose.ui.layout.ContentScale contentScale, optional androidx.compose.ui.graphics.ColorFilter? colorFilter, optional boolean fadeIn, optional kotlin.jvm.functions.Function2<? super coil.request.ImageRequest.Builder,? super androidx.compose.ui.unit.IntSize,coil.request.ImageRequest.Builder>? requestBuilder, optional coil.ImageLoader imageLoader, optional @DrawableRes int previewPlaceholder, optional kotlin.jvm.functions.Function2<? super com.google.accompanist.imageloading.ImageLoadState,? super androidx.compose.ui.unit.IntSize,java.lang.Boolean> shouldRefetchOnSizeChange, optional kotlin.jvm.functions.Function1<? super com.google.accompanist.imageloading.ImageLoadState,kotlin.Unit> onRequestCompleted, optional kotlin.jvm.functions.Function2<? super androidx.compose.foundation.layout.BoxScope,? super com.google.accompanist.imageloading.ImageLoadState.Error,kotlin.Unit>? error, optional kotlin.jvm.functions.Function1<? super androidx.compose.foundation.layout.BoxScope,kotlin.Unit>? loading);
}

public final class CoilKt {
method public static androidx.compose.runtime.ProvidableCompositionLocal<coil.ImageLoader> getLocalImageLoader();
method @androidx.compose.runtime.Composable public static com.google.accompanist.imageloading.LoadPainter<java.lang.Object> rememberCoilPainter(Object? request, optional coil.ImageLoader imageLoader, optional com.google.accompanist.imageloading.ShouldRefetchOnSizeChange shouldRefetchOnSizeChange, optional kotlin.jvm.functions.Function2<? super coil.request.ImageRequest.Builder,? super androidx.compose.ui.unit.IntSize,coil.request.ImageRequest.Builder>? requestBuilder, optional boolean fadeIn, optional int fadeInDurationMs, optional @DrawableRes int previewPlaceholder);
Expand Down
Loading

0 comments on commit 0c8932d

Please sign in to comment.