Skip to content

Commit

Permalink
Reorder animations to their respective names in sample activity
Browse files Browse the repository at this point in the history
  • Loading branch information
APetjko committed May 19, 2020
1 parent 388be0e commit 0a23def
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions sample/src/main/java/lv/chi/sample/MainActivity.kt
Original file line number Diff line number Diff line change
Expand Up @@ -45,14 +45,14 @@ class MainActivity : AppCompatActivity() {
}
}

text_holder1.animateCharacterChange(HorizontalFlipCharacterAnimation())
text_holder2.animateCharacterChange(VerticalCutCharacterAnimation())
text_holder3.animateCharacterChange(VerticalSlideCharacterAnimation())
text_holder4.animateCharacterChange(VerticalSlideCharacterAnimation(direction = TextAnimationVerticalDirection.DOWN))
text_holder5.animateCharacterChange(ShrinkCharacterAnimation())
text_holder6.animateCharacterChange(HorizontalSlideCharacterAnimation())
text_holder7.animateCharacterChange(HorizontalSlideCharacterAnimation(direction = TextAnimationHorizontalDirection.LEFT))
text_holder8.animateCharacterChange(FadeCharacterAnimation())
text_holder1.animateCharacterChange(FadeCharacterAnimation())
text_holder2.animateCharacterChange(VerticalSlideCharacterAnimation())
text_holder3.animateCharacterChange(VerticalSlideCharacterAnimation(direction = TextAnimationVerticalDirection.DOWN))
text_holder4.animateCharacterChange(ShrinkCharacterAnimation())
text_holder5.animateCharacterChange(HorizontalSlideCharacterAnimation())
text_holder6.animateCharacterChange(HorizontalSlideCharacterAnimation(direction = TextAnimationHorizontalDirection.LEFT))
text_holder7.animateCharacterChange(HorizontalFlipCharacterAnimation())
text_holder8.animateCharacterChange(VerticalCutCharacterAnimation())

text_holder9.animateCharacterChange {
alpha = 0f
Expand Down

0 comments on commit 0a23def

Please sign in to comment.