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

c# - how to use buttonedit in devexpress gridcontrol -

How do you convert a timestamp into a datetime in python with the correct timezone? -

how to display 2 form fields on same line with bootstrap -