Open ghost opened 9 years ago
Whats the error? I may be able to give some guidance on fixing this. I dont work on android anymore and dont have android dev environment setup on my machine. Sorry.
Appreciate for reply me back.basically i wanted to continue that animation with scroll image list like circular.I mean image animation should be continue forever until unless not press back button.
Error:--here Autoscrolling animation should be continue.in last image in getting stop but need to start again from first.
Please give me some clue or any idea
Could you please reply me.
@chayan1988:
I used the following logic for endless scrolling
public void moveScrollView() {
// ********************* Scrollable Speed ***********************
scrollPos = (int) (horizontalScrollview.getScrollX() + 1.0);
if (scrollPos >= scrollMax) {
Log.v("childCount", ""+scrollMax);
addImagesToView();
getScrollMaxAmount();
}
horizontalScrollview.scrollTo(scrollPos, 0);
}
public void getScrollMaxAmount() { int actualWidth = (horizontalOuterLayout.getMeasuredWidth() - getWindowManager().getDefaultDisplay().getWidth()); scrollMax = actualWidth; }
Hiii
Its working . but my requiremtn is after scroll max it should again start from scroll position and it should continue animation . On 11 Sep 2015 8:37 pm, "SkyNite" notifications@github.com wrote:
@chayan1988 https://github.com/chayan1988:
I used the following logic for endless scrolling
public void moveScrollView() {
// ********************* Scrollable Speed *********************** scrollPos = (int) (horizontalScrollview.getScrollX() + 1.0); if (scrollPos >= scrollMax) { Log.v("childCount", ""+scrollMax); addImagesToView(); getScrollMaxAmount(); } horizontalScrollview.scrollTo(scrollPos, 0);
}
— Reply to this email directly or view it on GitHub https://github.com/blessenm/AndroidAutoScrollListView/issues/2#issuecomment-139570411 .
@chayan1988 did you get any solution?
Autoscrolling(circular scrolling) is not working in lollipop version.Could you please help me out