Noty
Noty copied to clipboard
How to auto dismiss after a few seconds?
(...).setAnimation(RevealAnim reveal, DismissAnim dismiss, int revealTime, int dismissTime);
Originally posted by @emre1512 in https://github.com/emre1512/Noty/issues/1#issuecomment-499334055
.setAnimation(Noty.RevealAnim.SLIDE_DOWN, Noty.DismissAnim.BACK_TO_TOP, 400, 400)
this is the default and doesnt auto dismiss. Why you close if you cannot answer?
Oh sorry, I didn't see the "auto" part. There is no auto dismiss feature. I think you need to handle it yourself inaway. Using
yourTextView.performClick();
with a timer may work. Both warning box and the action button is textview.
how do I access the warningbox textview if I am loading through gradle?
can i add custom layout to access it?