Interface Transition.ViewAdapter

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      android.graphics.drawable.Drawable getCurrentDrawable()
      Returns the current drawable being displayed in the view, or null if no such drawable exists (or one cannot be retrieved).
      android.view.View getView()
      Returns the wrapped View.
      void setDrawable​(android.graphics.drawable.Drawable drawable)
      Sets the current drawable (usually an animated drawable) to display in the wrapped view.
    • Method Detail

      • getView

        android.view.View getView()
        Returns the wrapped View.
      • getCurrentDrawable

        @Nullable
        android.graphics.drawable.Drawable getCurrentDrawable()
        Returns the current drawable being displayed in the view, or null if no such drawable exists (or one cannot be retrieved).
      • setDrawable

        void setDrawable​(android.graphics.drawable.Drawable drawable)
        Sets the current drawable (usually an animated drawable) to display in the wrapped view.
        Parameters:
        drawable - The drawable to display in the wrapped view.