com.bumptech.glide.manager.ApplicationLifecycle Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of glide Show documentation
Show all versions of glide Show documentation
A fast and efficient image loading library for Android focused on smooth scrolling.
package com.bumptech.glide.manager;
/**
* A {@link com.bumptech.glide.manager.Lifecycle} implementation for tracking and notifying
* listeners of {@link android.app.Application} lifecycle events.
*
* Since there are essentially no {@link android.app.Application} lifecycle events, this class
* simply defaults to notifying new listeners that they are started.
*/
class ApplicationLifecycle implements Lifecycle {
@Override
public void addListener(LifecycleListener listener) {
listener.onStart();
}
@Override
public void removeListener(LifecycleListener listener) {
// Do nothing.
}
}