添加Application返回函数
This commit is contained in:
@@ -38,7 +38,7 @@ dependencies {
|
||||
api 'androidx.fragment:fragment:1.0.0'
|
||||
api 'com.google.android.material:material:1.0.0'
|
||||
|
||||
api 'cc.winboll.studio:libappbase:1.1.0'
|
||||
api 'cc.winboll.studio:libappbase:1.1.2'
|
||||
|
||||
api fileTree(dir: 'libs', include: ['*.jar'])
|
||||
}
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
#Created by .winboll/winboll_app_build.gradle
|
||||
#Thu Jan 23 14:30:15 HKT 2025
|
||||
#Thu Jan 23 06:47:41 GMT 2025
|
||||
stageCount=17
|
||||
libraryProject=libapputils
|
||||
baseVersion=9.2
|
||||
publishVersion=9.2.16
|
||||
buildCount=0
|
||||
buildCount=2
|
||||
baseBetaVersion=9.2.17
|
||||
|
||||
@@ -8,6 +8,7 @@ import cc.winboll.studio.libapputils.log.LogUtils;
|
||||
import com.hjq.toast.ToastUtils;
|
||||
import com.hjq.toast.style.WhiteToastStyle;
|
||||
import android.content.Context;
|
||||
import android.app.Application;
|
||||
|
||||
public class WinBollGlobalApplication extends GlobalApplication {
|
||||
|
||||
@@ -58,6 +59,11 @@ public class WinBollGlobalApplication extends GlobalApplication {
|
||||
return super.getApplicationContext();
|
||||
}
|
||||
|
||||
@Override
|
||||
public Application getApplication() {
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onCreate() {
|
||||
super.onCreate();
|
||||
|
||||
Reference in New Issue
Block a user