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

show(isRepeat) doesn't work #2

Closed
Hesamedin opened this issue Oct 23, 2014 · 1 comment
Closed

show(isRepeat) doesn't work #2

Hesamedin opened this issue Oct 23, 2014 · 1 comment

Comments

@Hesamedin
Copy link

Hi,

Thanks for the library. I'm testing your lib and I'm not sure if I did something wrong.
I added those two jar files in my libs folder.
I want to have an sticky notification that doesn't dismiss until I say. Based on what you have in lib class (https://github.com/sd6352051/NiftyNotification/blob/master/library/src/main/java/com/gitonway/lee/niftynotification/lib/NiftyNotificationView.java#L287), I tried to use this method that compiler is saying you should use show() method. Does two jar files are old that doesn't support show(bool)?

Is it possible that I add close button to view in order the toast to be dismissed by user?

Thanks

@litao0621
Copy link
Owner

hi @Hesamedin
show(true) method means current window just allow one notification.

I add showSticky() and removeSticky() mothod , Now you can call showSticky() method get an sticky notification and call removeSticky() mothod make the notification to be dismissed.Send pull requests if you hava any good idea.

English is not my native language,I hope you can understand,

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