Example usage for android.widget ImageView removeOnLayoutChangeListener

List of usage examples for android.widget ImageView removeOnLayoutChangeListener

Introduction

In this page you can find the example usage for android.widget ImageView removeOnLayoutChangeListener.

Prototype

public void removeOnLayoutChangeListener(OnLayoutChangeListener listener) 

Source Link

Document

Remove a listener for layout changes.

Usage

From source file:com.lifehackinnovations.siteaudit.FloorPlanActivity.java

public void restoreonehourglass(ImageView iv, int drawable) {
    iv.setImageResource(drawable);/*from   ww  w .  j  a  v  a2 s  .  com*/
    iv.setClickable(true);
    iv.removeOnLayoutChangeListener(hourglasslistener);
    iv.setAnimation(null);
}