Package 

Class ViewPropertyTransition

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      public interface ViewPropertyTransition.Animator

      An interface that allows an animation to be applied on or started from an .

    • Method Summary

      Modifier and Type Method Description
      boolean transition(R current, Transition.ViewAdapter adapter) Always applies the Animator given in the constructor to thegiven view and returns {@code false} because the animator cannot put the new resource on theview.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ViewPropertyTransition

        ViewPropertyTransition(ViewPropertyTransition.Animator animator)
        Constructor for a view property animation that takes an Animator interface that can apply a transition to a view.
        Parameters:
        animator - The animator to use.
    • Method Detail

      • transition

         boolean transition(R current, Transition.ViewAdapter adapter)

        Always applies the Animator given in the constructor to thegiven view and returns {@code false} because the animator cannot put the new resource on theview.

        Parameters:
        current - The new resource that will be displayed in the view.
        adapter - The ViewAdapter wrapping a view that can at least return anView from getView.