添加leakcanery
This commit is contained in:
@@ -53,7 +53,13 @@ public class AbsMogoApplication extends Application {
|
||||
public void onCreate() {
|
||||
super.onCreate();
|
||||
sApp = this;
|
||||
init();
|
||||
if ( shouldInit() ) {
|
||||
init();
|
||||
}
|
||||
}
|
||||
|
||||
protected boolean shouldInit(){
|
||||
return true;
|
||||
}
|
||||
|
||||
protected void init() {
|
||||
|
||||
Reference in New Issue
Block a user