Example usage for android.widget ViewFlipper setAnimateFirstView

List of usage examples for android.widget ViewFlipper setAnimateFirstView

Introduction

In this page you can find the example usage for android.widget ViewFlipper setAnimateFirstView.

Prototype

public void setAnimateFirstView(boolean animate) 

Source Link

Document

Indicates whether the current View should be animated the first time the ViewAnimator is displayed.

Usage

From source file:io.github.carlorodriguez.alarmon.MediaListView.java

public void addToFlipper(ViewFlipper flipper) {
    this.flipper = flipper;
    flipper.setAnimateFirstView(false);
    flipper.addView(this);
}