com.zpf.api.IFullLifecycle Maven / Gradle / Ivy
package com.zpf.api;
import android.os.Bundle;
import androidx.annotation.Nullable;
import androidx.annotation.NonNull;
import com.zpf.api.OnDestroyListener;
/**
* 完整的生命周期监听
* Created by ZPF on 2019/2/28.
*/
public interface IFullLifecycle extends OnDestroyListener {
void onCreate(@Nullable Bundle savedInstanceState);
void onRestart();
void onStart();
void onResume();
void onPause();
void onStop();
void onSaveInstanceState(@NonNull Bundle outState);
void onRestoreInstanceState(@NonNull Bundle savedInstanceState);
}