Skip to content

Commit

Permalink
Make ReorderingState @stable
Browse files Browse the repository at this point in the history
  • Loading branch information
vfsfitvnm committed Aug 26, 2022
1 parent 17a5e60 commit e7d768e
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ import androidx.compose.foundation.lazy.LazyListBeyondBoundsInfo
import androidx.compose.foundation.lazy.LazyListItemInfo
import androidx.compose.foundation.lazy.LazyListState
import androidx.compose.runtime.Composable
import androidx.compose.runtime.Stable
import androidx.compose.runtime.getValue
import androidx.compose.runtime.mutableStateMapOf
import androidx.compose.runtime.mutableStateOf
Expand All @@ -24,6 +25,7 @@ import kotlinx.coroutines.Dispatchers
import kotlinx.coroutines.launch
import kotlinx.coroutines.withContext

@Stable
class ReorderingState(
val lazyListState: LazyListState,
internal val coroutineScope: CoroutineScope,
Expand Down

0 comments on commit e7d768e

Please sign in to comment.