android - Move listview item left and right by clicking on it -


i want implement moving of listview item right or left clicking on have use code listv swiplistview have listview below,

enter image description here

list item have 2 view left view (contain 1 textview ) , right view (contain 2 button)

now when tap on row left view move left side , right view display, (row move left side) below

enter image description here

now if again click on row right view move @ right side , textview display (row moves @ right) changes have done in ? or add animation in listview item click ??

in swiplistview.java change

        case motionevent.action_up:         case motionevent.action_cancel:             log("============action_up");             clearpressedstate();             if (misshown) {                 hiddenright(mpreitemview);             } 

to

        case motionevent.action_up:             showright(mcurrentitemview);           case motionevent.action_cancel:             log("============action_up");             clearpressedstate();             if (misshown) {                 if ( mpreitemview != null)                       hiddenright(mpreitemview);             } 

Comments

Popular posts from this blog

java - Oracle EBS .ClassNotFoundException: oracle.apps.fnd.formsClient.FormsLauncher.class ERROR -

c# - how to use buttonedit in devexpress gridcontrol -

nvd3.js - angularjs-nvd3-directives setting color in legend as well as in chart elements -