Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update to WindowManager alpha07 to use WindowInfoRepository #254

Merged
merged 2 commits into from
Jun 16, 2021
Merged

Update to WindowManager alpha07 to use WindowInfoRepository #254

merged 2 commits into from
Jun 16, 2021

Conversation

pfmaggi
Copy link
Contributor

@pfmaggi pfmaggi commented Jun 15, 2021

Update to WindowManager alpha07 converting from WindowManager's callback to WindowInfoRepository's Flows.

@pfmaggi pfmaggi requested review from kford55 and chrisbanes June 15, 2021 16:58
import kotlinx.coroutines.flow.flow
import kotlinx.coroutines.withContext

fun <T> Flow<T>.throttleFirst(waitForMillis: Long): Flow<T> = flow {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure on this function. @manuelvicnt

@pfmaggi pfmaggi merged commit 95c08ac into android:main Jun 16, 2021
@pfmaggi pfmaggi deleted the pfm/alpha07 branch June 16, 2021 09:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants