Skip to content
This repository has been archived by the owner on Apr 19, 2023. It is now read-only.

Animation not working with stepView.go() #48

Open
ranaprathap2 opened this issue Jun 9, 2019 · 3 comments
Open

Animation not working with stepView.go() #48

ranaprathap2 opened this issue Jun 9, 2019 · 3 comments

Comments

@ranaprathap2
Copy link

stepView.state.animationDuration(android.R.integer.config_longAnimTime).animationType(StepView.ANIMATION_ALL)
stepView.go(1,true)

The animation is enabled with duration, still animation is not working, Still the step jumps directly without any animations ...

@hassanmhd
Copy link

In the description they said that the animation won't run unless the difference between the current step and the next step is 1. I spent a lot of time until i figured it out. I Hope it solves your problem.

@shuhart
Copy link
Owner

shuhart commented Aug 8, 2019

From the beginning this case with difference between steps greater than 1 was not considered intentionally. It just looks too complicated to calculate and run properly across all combination of state changes.

@emrekilincarslan
Copy link

stepView.go(stepView.getCurrentStep()+1,true);

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants