Android overscroll bounce animation on gridview -


i want create on scroll bounce animation in gridview.

i have searched long time still not find way implement on scroll bounce animation gridview , came across flow home launcher , wonder how did devs achieve animation when scrolling app list , better if can attach video .

i realise there many apps doing on scroll animation how?

the following screenshorts flow home launcher

normal overscroll

perhaps this repo on github - provides over-scroll 'bounce' effect seems you're looking for, trick you.

it works on many scrollable core android views - 1 of gridview:

given gridview object @ hand, apply effect follows:

gridview gridview = ... overscrolldecoratorhelper.setupoverscroll(gridview); 

note: haven't specified context is. assuming you're implementing activity, should done upon creation (i.e. in oncreate()).

to include in project, add project's gradle.build:

dependencies {     // ...     compile 'me.everything:overscroll-decor-android:1.0.0' } 

Comments

Popular posts from this blog

dns - How To Use Custom Nameserver On Free Cloudflare? -

python - Pygame screen.blit not working -

c# - Web API response xml language -