java - Android Gallery on image change -
hi i'm writing gallery library few projects i'm working on far have slide show , buttons navigating gallery besides using fling. i'd hide navigation buttons after 3 seconds of not swiping. idea once scrolling stops, start runnable set imageviews view gone after 3 seconds , once scrolling starts again set view visible again.
how can listen fling in android gallery class
gallery g = (gallery) findviewbyid(r.id.gallery);
thanks
there inherited method called onfling suitable that. let call interface's method , provide parameters you're needing.
using interface listener pretty common when coding android.
Comments
Post a Comment