timroes / EnhancedListView

[DEPRECATED] An Android ListView with enhanced functionality (e.g. Swipe To Dismiss or Undo)
Other
463 stars 147 forks source link

Undo toast does not disappear #52

Open ghost opened 10 years ago

ghost commented 10 years ago

This might be since I updated to v0.3.4. Undo toast does not disappear.

Android 4.4.4, stock on Nexus 5.

timroes commented 10 years ago

Have you touched the screen after the undo toast appeared? By default the library won't hide the toast until the user touched the screen to make sure the user has recognized the toast. You can call setRequireTouchBeforeDismiss(false) to disable that behavior. Does the toast still not disappear after that?

ghost commented 10 years ago

It still does not disappear after touching the screen.

rubinbasha commented 10 years ago

I was having the same problem as @sciencepro with the undo toast, but after : myEnhancedListView.setRequireTouchBeforeDismiss(false) it is all OK. There is no need for the user to touch the screen so after 5 seconds the toast goes away. :) .

P.S.: In my case the AnimationEnd prior to the Toast being shown is a bit glitchy but not a big deal.