While doing flip animation in Android Grid View -


problem while doing flip animation in grideview.i want ever item click in grid view should rotate, followed link https://code.google.com/p/android-3d-flip-view-transition/source/browse/ , tried implement in gridview taking seperate view group linear layout each item in grid view no sucess. problem when clicking item in gridview first , last items flipping. plz me.

this below code understand purpose, can animation following code useage

if (position == 0) {             v.setbackgroundresource(r.anim.frame);             manimation = (animationdrawable) v.getbackground();             v.postdelayed(new runnable() {                 public void run() {                     if (manimation != null)                         manimation .start();                 }             }, 100);         } 

Comments

Popular posts from this blog

basic authentication with http post params android -

vb.net - Virtual Keyboard commands -

css - Firefox for ubuntu renders wrong colors -