public interface

ControllerViewportVisibilityListener

com.facebook.drawee.controller.ControllerViewportVisibilityListener

Class Overview

A listener for AbstractDraweeController that listens to events regarding visibility of the drawee in the viewport. As Android does not provide these events, the client must call onViewportVisibilityHint(boolean) accordingly.

Summary

Public Methods
abstract void onDraweeViewportEntry(String id)
Called after a client has given the AbstractDraweeController a hint that the view became visible in the viewport.
abstract void onDraweeViewportExit(String id)
Called after a client has given the AbstractDraweeController a hint that the view is no longer visible in the viewport.

Public Methods

public abstract void onDraweeViewportEntry (String id)

Called after a client has given the AbstractDraweeController a hint that the view became visible in the viewport.

Parameters
id controller id

public abstract void onDraweeViewportExit (String id)

Called after a client has given the AbstractDraweeController a hint that the view is no longer visible in the viewport.

Parameters
id controller id