michaelye / EasyDialog

A lightweight, flexible tip dialog in Android
Other
705 stars 191 forks source link

auto close the tool tip after some time #30

Closed kumarbanty closed 8 years ago

kumarbanty commented 8 years ago

How to automatically make the tool tip disappear after some time?

michaelye commented 8 years ago

This feature had been issued before.I've consider about it,but I have no extra time to finish it.For now, you may handle it by yourself,for example:

Timer timer = new Timer();  
timer.schedule(new TimerTask()
{ 
    @Override
    public void run()   
    {  
            //TODO dismiss the Dialog 
    }  
}, 3000);//after 3seconds
kumarbanty commented 8 years ago

Thank you