ViewAdapter

interface ViewAdapter

An interface wrapping a view that exposes the necessary methods to run the various types of android animations as transitions: (ViewTransition, ViewPropertyTransition and animated android.graphics.drawable.Drawables).

Functions

Link copied to clipboard
abstract fun getCurrentDrawable(): Drawable
Returns the current drawable being displayed in the view, or null if no such drawable exists (or one cannot be retrieved).
Link copied to clipboard
abstract fun getView(): View
Returns the wrapped android.view.
Link copied to clipboard
abstract fun setDrawable(drawable: Drawable)
Sets the current drawable (usually an animated drawable) to display in the wrapped view.

Inheritors

Link copied to clipboard