1 package com.bumptech.glide.manager; 2 3 /** 4 * A {@link com.bumptech.glide.manager.Lifecycle} implementation for tracking and notifying listeners of 5 * {@link android.app.Application} lifecycle events. 6 * 7 * <p> 8 * Since there are essentially no {@link android.app.Application} lifecycle events, this class simply defaults to 9 * notifying new listeners that they are started. 10 * </p> 11 */ 12 class ApplicationLifecycle implements Lifecycle { 13 @Override addListener(LifecycleListener listener)14 public void addListener(LifecycleListener listener) { 15 listener.onStart(); 16 } 17 } 18