Compare commits

...

3 Commits

Author SHA1 Message Date
ZhanGSKen
3ad9bb262e <apputils>APK 9.2.17 release Publish. 2025-01-23 14:50:49 +08:00
ZhanGSKen
15992da22f 添加Application返回函数 2025-01-23 14:49:56 +08:00
ZhanGSKen
7fb4e665f9 <libapputils>Library Release 9.2.16 2025-01-23 14:30:38 +08:00
6 changed files with 17 additions and 14 deletions

View File

@@ -51,7 +51,5 @@ android {
dependencies {
api project(':libapputils')
api 'cc.winboll.studio:libappbase:1.1.1'
api fileTree(dir: 'libs', include: ['*.jar'])
}

View File

@@ -1,8 +1,8 @@
#Created by .winboll/winboll_app_build.gradle
#Thu Jan 23 14:30:15 HKT 2025
stageCount=17
#Thu Jan 23 14:50:49 HKT 2025
stageCount=18
libraryProject=libapputils
baseVersion=9.2
publishVersion=9.2.16
publishVersion=9.2.17
buildCount=0
baseBetaVersion=9.2.17
baseBetaVersion=9.2.18

View File

@@ -5,10 +5,8 @@ package cc.winboll.studio.apputils;
* @Date 2024/12/08 15:10:51
* @Describe 全局应用类
*/
import android.view.Gravity;
import android.widget.Toast;
import cc.winboll.studio.libapputils.app.WinBollGlobalApplication;
import com.hjq.toast.ToastUtils;
import com.hjq.toast.style.WhiteToastStyle;
public class App extends WinBollGlobalApplication {
@@ -19,6 +17,7 @@ public class App extends WinBollGlobalApplication {
@Override
public void onCreate() {
super.onCreate();
Toast.makeText(getApplication(), "Toast Test", Toast.LENGTH_SHORT).show();
}
}

View File

@@ -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'])
}

View File

@@ -1,8 +1,8 @@
#Created by .winboll/winboll_app_build.gradle
#Thu Jan 23 14:30:15 HKT 2025
stageCount=17
#Thu Jan 23 14:50:49 HKT 2025
stageCount=18
libraryProject=libapputils
baseVersion=9.2
publishVersion=9.2.16
publishVersion=9.2.17
buildCount=0
baseBetaVersion=9.2.17
baseBetaVersion=9.2.18

View File

@@ -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();