Skip to content

Commit

Permalink
Suppress InjectDispatcher warning in demo
Browse files Browse the repository at this point in the history
  • Loading branch information
rock3r committed Dec 8, 2023
1 parent 4a5d954 commit 95361c2
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ fun SelectableLazyColumnSample() {
}

LaunchedEffect(Unit) {
@Suppress("InjectDispatcher") // Ok for demo code
launch(Dispatchers.Default) {
listOfItems = List(5_000_000) { "Item $it" }
}
Expand Down

0 comments on commit 95361c2

Please sign in to comment.