Skip to content

Commit

Permalink
update README
Browse files Browse the repository at this point in the history
  • Loading branch information
Calvin-LL committed Aug 29, 2024
1 parent 3d0f528 commit 7858918
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ LazyColumn(

##### Section Headers and Footers or Multiple Lists

The `from.index` and `to.index` in `onMove` are the indices of the items in the `LazyColumn`. If you have section headers and footers, you need to adjust the indices accordingly. For example:
The `from.index` and `to.index` in `onMove` are the indices of the items in the `LazyColumn`. If you have section headers or footers, you may need to adjust the indices accordingly. For example:

```kotlin
var list by remember { mutableStateOf(List(100) { "Item $it" }) }
Expand Down Expand Up @@ -392,7 +392,7 @@ LazyRow(

##### Section Headers and Footers or Multiple Lists

The `from.index` and `to.index` in `onMove` are the indices of the items in the `LazyRow`. If you have section headers and footers, you need to adjust the indices accordingly. For example:
The `from.index` and `to.index` in `onMove` are the indices of the items in the `LazyRow`. If you have section headers or footers, you may need to adjust the indices accordingly. For example:

```kotlin
var list by remember { mutableStateOf(List(100) { "Item $it" }) }
Expand Down Expand Up @@ -601,7 +601,7 @@ LazyVerticalGrid(

##### Section Headers and Footers or Multiple Lists

The `from.index` and `to.index` in `onMove` are the indices of the items in the `LazyVerticalGrid`. If you have section headers and footers, you need to adjust the indices accordingly. For example:
The `from.index` and `to.index` in `onMove` are the indices of the items in the `LazyVerticalGrid`. If you have section headers or footers, you may need to adjust the indices accordingly. For example:

```kotlin
var list by remember { mutableStateOf(List(100) { "Item $it" }) }
Expand Down Expand Up @@ -812,7 +812,7 @@ LazyHorizontalGrid(

##### Section Headers and Footers or Multiple Lists

The `from.index` and `to.index` in `onMove` are the indices of the items in the `LazyHorizontalGrid`. If you have section headers and footers, you need to adjust the indices accordingly. For example:
The `from.index` and `to.index` in `onMove` are the indices of the items in the `LazyHorizontalGrid`. If you have section headers or footers, you may need to adjust the indices accordingly. For example:

```kotlin
var list by remember { mutableStateOf(List(100) { "Item $it" }) }
Expand Down Expand Up @@ -1023,7 +1023,7 @@ LazyVerticalStaggeredGrid(

##### Section Headers and Footers or Multiple Lists

The `from.index` and `to.index` in `onMove` are the indices of the items in the `LazyVerticalStaggeredGrid`. If you have section headers and footers, you need to adjust the indices accordingly. For example:
The `from.index` and `to.index` in `onMove` are the indices of the items in the `LazyVerticalStaggeredGrid`. If you have section headers or footers, you may need to adjust the indices accordingly. For example:

```kotlin
var list by remember { mutableStateOf(List(100) { "Item $it" }) }
Expand Down Expand Up @@ -1234,7 +1234,7 @@ LazyHorizontalStaggeredGrid(

##### Section Headers and Footers or Multiple Lists

The `from.index` and `to.index` in `onMove` are the indices of the items in the `LazyHorizontalStaggeredGrid`. If you have section headers and footers, you need to adjust the indices accordingly. For example:
The `from.index` and `to.index` in `onMove` are the indices of the items in the `LazyHorizontalStaggeredGrid`. If you have section headers or footers, you may need to adjust the indices accordingly. For example:

```kotlin
var list by remember { mutableStateOf(List(100) { "Item $it" }) }
Expand Down

0 comments on commit 7858918

Please sign in to comment.