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
ActionMode dismissed callback #2
Comments
Thanks for the feedback, i think what you need is a callback or a stream to
listen to when the actionMode is enabled or disabled. I will try and add
this in the next update. I will let you know when this update is done
…On Tue, 21 Jul 2020 at 17:55, Sanjay Sah ***@***.***> wrote:
Hi,
First of all thank you for such a nice plugin. It does the job pretty well.
In one of my use case, I need to hide/unhide a view based on ActionMode
enabled/disabled status. I tried to figure it out but could not able to
identify if the ActionMode is disabled. Though by using the CounterBuilder
I identified that the ActionMode is enabled when itemCount >= 0
Looking forward for your help.
Thanks in advance.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#2>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AJNWMI7H4LXTZC3FTZTBRFLR4XCBFANCNFSM4PDZOM5A>
.
|
Hello @sanjay Sah, i have added this feature, you can check version 1.0.3
On Wed, 22 Jul 2020 at 17:55, Michael Adeyemo <michaeladesola1410@gmail.com>
wrote:
…
Thanks for the feedback, i think what you need is a callback or a stream
to listen to when the actionMode is enabled or disabled. I will try and add
this in the next update. I will let you know when this update is done
On Tue, 21 Jul 2020 at 17:55, Sanjay Sah ***@***.***> wrote:
> Hi,
>
> First of all thank you for such a nice plugin. It does the job pretty
> well.
>
> In one of my use case, I need to hide/unhide a view based on ActionMode
> enabled/disabled status. I tried to figure it out but could not able to
> identify if the ActionMode is disabled. Though by using the CounterBuilder
> I identified that the ActionMode is enabled when itemCount >= 0
>
> Looking forward for your help.
>
> Thanks in advance.
>
> —
> You are receiving this because you are subscribed to this thread.
> Reply to this email directly, view it on GitHub
> <#2>,
> or unsubscribe
> <https://github.com/notifications/unsubscribe-auth/AJNWMI7H4LXTZC3FTZTBRFLR4XCBFANCNFSM4PDZOM5A>
> .
>
|
Thank you for adding the feature. I tried to use it. Refer the below code:
But it throws an exception: `════════ Exception caught by widgets library ═══════════════════════════════════════════════════════ This likely happens because you used a
` |
This plugin makes use of Provider internally, as a result you can't use the actionModeEnabledStream above the ContextualActionScaffold, please check the Whatsapp example to see how it's being used |
Hi,
First of all thank you for such a nice plugin. It does the job pretty well.
In one of my use case, I need to hide/unhide a view based on ActionMode enabled/disabled status. I tried to figure it out but could not able to identify if the ActionMode is disabled. Though by using the CounterBuilder I identified that the ActionMode is enabled when itemCount >= 0
Looking forward for your help.
Thanks in advance.
The text was updated successfully, but these errors were encountered: