Skip to content

Commit

Permalink
Docs : Update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
orioonyx committed Sep 15, 2022
1 parent 24f3505 commit 92747d4
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ dependencies {

3. You can use simply by using function as the following example below:
```kotlin
private lateinit var imageList: ArrayList<String>
private lateinit var imageList: ArrayList<Any>
private var infoContainerMaxHeight = 600.dp
private var infoContainerMinHeight = 120.dp
```
Expand All @@ -37,7 +37,6 @@ ExpandSwipeView(
imageList = imageList,
imageScale = ContentScale.Crop,
modifier = Modifier,
state = rememberPagerState(),
infoSheetState = rememberSwipeableState(SheetState.Open),
infoContainerMaxHeight = infoContainerMaxHeight,
infoContainerMinHeight = infoContainerMinHeight,
Expand Down
4 changes: 2 additions & 2 deletions library/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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'
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ public enum class SheetState { Open, Closed }
@OptIn(ExperimentalMaterialApi::class, ExperimentalPagerApi::class)
@Composable
public fun ExpandSwipeView(
imageList: ArrayList<String>,
imageList: ArrayList<Any>,
imageScale: ContentScale,
modifier: Modifier = Modifier,
infoSheetState: SwipeableState<Any> = rememberSwipeableState(SheetState.Open),
Expand Down

0 comments on commit 92747d4

Please sign in to comment.