Example usage for android.transition Transition getTargets

List of usage examples for android.transition Transition getTargets

Introduction

In this page you can find the example usage for android.transition Transition getTargets.

Prototype

public List<View> getTargets() 

Source Link

Document

Returns the list of target views that this transition limits itself to tracking and animating.

Usage

From source file:io.plaidapp.designernews.PostNewDesignerNewsStory.java

private boolean hasSharedElementTransition() {
    Transition transition = getWindow().getSharedElementEnterTransition();
    return (transition != null && !transition.getTargets().isEmpty());
}