-
public interface Transition.ViewAdapterAn interface wrapping a view that exposes the necessary methods to run the various types ofandroid animations as transitions: (ViewTransition, ViewPropertyTransition andanimated Drawables).
-
-
Method Summary
Modifier and Type Method Description abstract ViewgetView()Returns the wrapped View. abstract DrawablegetCurrentDrawable()Returns the current drawable being displayed in the view, or null if no such drawable exists(or one cannot be retrieved). abstract voidsetDrawable(Drawable drawable)Sets the current drawable (usually an animated drawable) to display in the wrapped view. -
-
Method Detail
-
getCurrentDrawable
@Nullable() abstract Drawable getCurrentDrawable()
Returns the current drawable being displayed in the view, or null if no such drawable exists(or one cannot be retrieved).
-
setDrawable
abstract void setDrawable(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.
-
-
-
-