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

Default State balloon never dies #5

Open
CarlyAmar opened this issue May 24, 2017 · 3 comments
Open

Default State balloon never dies #5

CarlyAmar opened this issue May 24, 2017 · 3 comments

Comments

@CarlyAmar
Copy link

CarlyAmar commented May 24, 2017

With the following settings:
k.setDefaultState(0);
k.setBalloonValuesTimeToLive(1);
k.setAnimation(true);
k.setKnobRelativeRadius(KNOB_SIZE);
k.setFreeRotation(true);
k.setShowBalloonValues(true);
k.setNumberOfStates(10);
k.setBalloonValuesTimeToLive(0);

android:layout_width="64dp"
android:layout_height="64dp"
android:id="@+id/knob1"
app:kNumberOfStates="10"

It seems that the initial balloon for the state zero never dissapears. When the value is changed, it has both the initial and the current value balloons.

@BeppiMenozzi
Copy link
Owner

Watch out, you wrote k.setBalloonValuesTimeToLive() twice :-) The second one sets it to 0, that means no death.

@CarlyAmar
Copy link
Author

CarlyAmar commented May 24, 2017

@BeppiMenozzi
I did that on purpose in an attempt to kill the initial balloon, but even with the first setting commented out, the initial one stays there, in addition to the current value balloon.

I want the current value to never die, but the initial one is stuck

@BeppiMenozzi
Copy link
Owner

I'll check it out!

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

No branches or pull requests

2 participants