Describe your animation and run !
Describe your animation and run !
```java new ExpectAnim() .expect(avatar)
.toBe(
Expectations...
)
.toAnimation()
.start();
# Download
<a href='https://ko-fi.com/A160LCC' target='_blank'></a>
In your module [](https://bintray.com/florent37/maven/ExpectAnim/_latestVersion)
```groovy
compile 'com.github.florent37:expectanim:1.0.8'This code describe the video above
…Use setPercent to apply modify the current step of the animation
Exemple with a scrollview
…You can play an anim after one other using ExpectAnim.concat (static method)
…Use setNow to apply directly the transformation
new ExpectAnim()
.expect(view)
.toBe(
outOfScreen(Gravity.BOTTOM)
)
.toAnimation()
.setNow();Use reset to return to the initial state of views
expectAnim.reset():…`
-keep class com.github.florent37.expectanim.*{ *; }
-dontwarn com.github.florent37.expectanim.**Added startDelay
Added ExpectAnim.concat
Fixed listeners references
Alpha 0 force view to be INVISIBLE`
Added flips rotations
flippedHorizontally()
flippedVertically()
flippedHorizontallyAndVertically()
withCameraDistance(1000f)
Added rotations
Author: Florent Champigny
Blog : http://www.tutos-android-france.com/
Fiches Plateau Moto : https://www.fiches-plateau-moto.fr/
Copyright 2017 florent37, Inc.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.No open issues yet, or sync has not completed.