Transition

interface Transition<R>

An interface that allows a transition to be applied to android.view.Views in s in across resource types. Targets that wrap views will be able to provide all of the necessary arguments and start the transition. Those that do not will be unable to provide the necessary arguments and will therefore be forced to ignore the transition. This interface is a compromise that allows view specific transition in Glide's complex world of arbitrary resource types and arbitrary target types.

Parameters

<R>

The type of the resource whose entrance will be transitioned.

Types

Link copied to clipboard
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.

Functions

Link copied to clipboard
abstract fun transition(current: R, adapter: Transition.ViewAdapter): Boolean
Animates from the previous android.graphics.drawable.

Inheritors

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard