From 92747d4117616502ee3883246a207dded7f35724 Mon Sep 17 00:00:00 2001 From: KyungEun No <74607521+shruddms@users.noreply.github.com> Date: Thu, 15 Sep 2022 16:57:42 +0900 Subject: [PATCH] Docs : Update readme --- README.md | 3 +-- library/build.gradle | 4 ++-- library/src/main/java/com/kyungeun/library/ExpandSwipeView.kt | 2 +- 3 files changed, 4 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 0b1cd57..2227cf3 100644 --- a/README.md +++ b/README.md @@ -27,7 +27,7 @@ dependencies { 3. You can use simply by using function as the following example below: ```kotlin -private lateinit var imageList: ArrayList +private lateinit var imageList: ArrayList private var infoContainerMaxHeight = 600.dp private var infoContainerMinHeight = 120.dp ``` @@ -37,7 +37,6 @@ ExpandSwipeView( imageList = imageList, imageScale = ContentScale.Crop, modifier = Modifier, - state = rememberPagerState(), infoSheetState = rememberSwipeableState(SheetState.Open), infoContainerMaxHeight = infoContainerMaxHeight, infoContainerMinHeight = infoContainerMinHeight, diff --git a/library/build.gradle b/library/build.gradle index bb0cac2..775023c 100644 --- a/library/build.gradle +++ b/library/build.gradle @@ -11,13 +11,13 @@ afterEvaluate { from components.release groupId = 'com.kyungeun.library' artifactId = 'library' - version = '1.0.1' + version = '1.0.2' } debug(MavenPublication) { from components.debug groupId = 'com.kyungeun.library' artifactId = 'library' - version = '1.0.1' + version = '1.0.2' } } } diff --git a/library/src/main/java/com/kyungeun/library/ExpandSwipeView.kt b/library/src/main/java/com/kyungeun/library/ExpandSwipeView.kt index fcfd1ed..00cc5ef 100644 --- a/library/src/main/java/com/kyungeun/library/ExpandSwipeView.kt +++ b/library/src/main/java/com/kyungeun/library/ExpandSwipeView.kt @@ -32,7 +32,7 @@ public enum class SheetState { Open, Closed } @OptIn(ExperimentalMaterialApi::class, ExperimentalPagerApi::class) @Composable public fun ExpandSwipeView( - imageList: ArrayList, + imageList: ArrayList, imageScale: ContentScale, modifier: Modifier = Modifier, infoSheetState: SwipeableState = rememberSwipeableState(SheetState.Open),