-
-
Notifications
You must be signed in to change notification settings - Fork 42
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
Does FlowBinding already supports clicks inside dialog #116
Comments
We don't have dialog bindings in the // MaterialDatePicker
fun <S> MaterialDatePicker<S>.cancels(): Flow<Unit>
fun <S> MaterialDatePicker<S>.dismisses(): Flow<Unit>
fun <S> MaterialDatePicker<S>.negativeButtonClicks(): Flow<Unit>
fun <S> MaterialDatePicker<S>.positiveButtonClicks(): Flow<S> Is this something you like to see in the platform bindings ( |
currently we're using |
FYI, previously we're trying with this approach:
EDITED:
|
I've never needed this myself but happy to accept a PR if you have a generic implementation 😃 |
We've edited the previous comments with codes example, or do u have any suggestion for simpler approach rather than manually creating |
How are you collection the flow? do you have a single collector in your activity or do you have another one in your Each fragment and activity has its own |
before typing comment reply, is it okay to continue discussion here or should I use discussion in this repo? @ychescale9 |
Sure let's try out discussion! |
is it currently supported? *I'm unable to find the related docs in readme, might've missed that
currently we're manually using
callbackFlow
to achieve thisThe text was updated successfully, but these errors were encountered: