Skip to content

Showcase

Ivan Škorić edited this page Oct 31, 2017 · 4 revisions

Here's a quick showcase of how you can control the animation flow with VanGogh APIs:

scale(fab, 1f)
   .andThen(together(fadeIn(tv1), fadeIn(tv2)))
   .andThen(fadeIn(progressBar))
   .subscribe();

scale(fab, 1f)
    .andThen(together(rotate(fab, 360f), fadeIn(tv1), fadeIn(tv2)))
    .andThen(fadeIn(progressBar))
    .subscribe();

together(
    scale(fab, 1f),
    fadeIn(tv1, 500L),
    fadeIn(tv2),
    scale(progressBar, 1f, 1f))
  .subscribe();