Improve hardware bitmap threshold option
Also `spotlessApply` (cherry picked from commit d6dfd24548eaa05a8c3e478068fe2e08f2ee4473)
This commit is contained in:
@@ -10,7 +10,7 @@ import kotlinx.coroutines.flow.Flow
|
||||
import kotlinx.coroutines.flow.StateFlow
|
||||
|
||||
@Composable
|
||||
fun <T: Any> StateFlow<Flow<PagingData<T>>>.collectAsLazyPagingItems(): LazyPagingItems<T> {
|
||||
fun <T : Any> StateFlow<Flow<PagingData<T>>>.collectAsLazyPagingItems(): LazyPagingItems<T> {
|
||||
val flow by collectAsState()
|
||||
return flow.collectAsLazyPagingItems()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user