weimingfei
7 天以前 9958c9393c8c3a5e2350fa9023e14cbbf74b0d9a
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
package com.doumee.lib_coremodel.base;
 
 
import androidx.lifecycle.Lifecycle;
import androidx.lifecycle.LifecycleObserver;
import androidx.lifecycle.OnLifecycleEvent;
 
/**
 * @author <a href="mailto:jenly1314@gmail.com">Jenly</a>
 */
public interface IModel extends LifecycleObserver {
 
    @OnLifecycleEvent(Lifecycle.Event.ON_DESTROY)
    void onDestroy();
 
}