All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.bumptech.glide.manager.Lifecycle Maven / Gradle / Ivy

Go to download

A fast and efficient image loading library for Android focused on smooth scrolling.

There is a newer version: 5.0.0-rc01
Show newest version
package com.bumptech.glide.manager;

/**
 * An interface for listening to Activity/Fragment lifecycle events.
 */
public interface Lifecycle {
  /**
   * Adds the given listener to the set of listeners managed by this Lifecycle implementation.
   */
  void addListener(LifecycleListener listener);

  /**
   * Removes the given listener from the set of listeners managed by this Lifecycle implementation,
   * returning {@code true} if the listener was removed successfully, and {@code false} otherwise.
   *
   * 

This is an optimization only, there is no guarantee that every added listener will * eventually be removed. */ void removeListener(LifecycleListener listener); }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy