java - Unable to change button bound during its translation android -


in app i'm translating button position when listview scrolling code below

public void onscroll(abslistview view, int firstvisibleitem, int visibleitemcount, int totalitemcount, int pageposition) {     int scrolly = getscrolly(view);     viewhelper.settranslationy(profilebutton, math.max(-scrolly, mmintranslation)); } 

but i'm having problem. it's not changing bound position staying position before scroll.


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 -