skydoves / Balloon

:balloon: Modernized and sophisticated tooltips, fully customizable with an arrow and animations for Android.
https://skydoves.github.io/libraries/balloon/html/balloon/com.skydoves.balloon/index.html
Apache License 2.0
3.73k stars 291 forks source link

Handler not reset when i call dismiss method #210

Closed spvince closed 3 years ago

spvince commented 3 years ago

Please complete the following information:

Describe the Bug:

I have a custom tooltip. There is a progress bar indicating how many time the tooltip will show and there is a cross bar which close instantaneously the tooltip ( I call method dismiss of Balloon class). In Balloon builder i call method setAutoDismissDuration ( duration 5s).

My problem is when i click on the cross bar tooltip is dismissed but the handler isn't reset. So when the tooltip is show again it's displayed 2s instead of 5s

Expected Behavior:

I want the handler is reset when i call dimiss method.

skydoves commented 3 years ago

Hi @spvince, Thanks for your issue! A new version 1.3.6-SNAPSHOT-210 has been released and this issue will be resolved in the next stable release. Thanks!

spvince commented 3 years ago

Thanks @skydoves

skydoves commented 3 years ago

1.3.6 stable has been released! Thanks for your issue.

spvince commented 3 years ago

Works fine