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

Adding a method to make possible to set a text to show into the bubble #114

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

lucaslbs15
Copy link

Some cases we could to show a little information into the bubble. Currently is shown only the progress information but if I want to set in my code the text for bubble I can't. If I can to set color, text size, text color and etc for my bubble, I would like to set my own text.

@@ -1158,6 +1159,19 @@ private float processProgress() {
return progress;
}

public void setProgressText(@NonNull String text) throws ProgressTextLengthException {
Copy link
Author

Choose a reason for hiding this comment

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

The progress text will be updated only the text is not null, is not empty and length is less or equal than 5

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