This commit is contained in:
parent
5d3c042f99
commit
9be3666af1
|
|
@ -17,7 +17,7 @@ import androidx.appcompat.app.AppCompatActivity;
|
|||
*/
|
||||
public abstract class BaseActivity extends AppCompatActivity {
|
||||
|
||||
private boolean statusBarDarkFont;
|
||||
private boolean statusBarDarkFont = true;
|
||||
|
||||
/****************************abstract area*************************************/
|
||||
|
||||
|
|
@ -55,10 +55,28 @@ public abstract class BaseActivity extends AppCompatActivity {
|
|||
protected void processLogic() {
|
||||
}
|
||||
|
||||
/**
|
||||
* 设置状态栏字体颜色,true黑色;false是白色
|
||||
* @param statusBarDarkFont
|
||||
*/
|
||||
public void setStatusBarDarkFont(boolean statusBarDarkFont) {
|
||||
this.statusBarDarkFont = statusBarDarkFont;
|
||||
}
|
||||
|
||||
/**
|
||||
* 设置状态栏字体颜色黑色(1.1.0版本新增)
|
||||
*/
|
||||
public void setStatusBarDarkFont() {
|
||||
this.statusBarDarkFont = true;
|
||||
}
|
||||
|
||||
/**
|
||||
* 设置状态栏字体颜色白色(1.1.0版本新增)
|
||||
*/
|
||||
public void setStatusBarWhiteFont() {
|
||||
this.statusBarDarkFont = false;
|
||||
}
|
||||
|
||||
/*************************lifecycle area*****************************************************/
|
||||
|
||||
@Override
|
||||
|
|
|
|||
|
|
@ -44,7 +44,7 @@ ext {
|
|||
appKaiPing: "@drawable/app_splash",
|
||||
]
|
||||
maven_version = [
|
||||
baselib_version : "1.0.1",
|
||||
baselib_version : "1.1.0",
|
||||
adlib_version : "1.0.1",
|
||||
adlib_aar_version: "1.0.0",
|
||||
lib_imusic_version: "1.0.0",
|
||||
|
|
|
|||
Binary file not shown.
|
|
@ -0,0 +1 @@
|
|||
cf37179c5451ef8f324f85b6b5d5a609
|
||||
|
|
@ -0,0 +1 @@
|
|||
0c2d562a65249d77b06a7aaf947961f5514357e2
|
||||
|
|
@ -0,0 +1 @@
|
|||
cd47b4b04dde3e9b942c69a93c5423e9f1161d72e4359cb1128263ec4ae32cee
|
||||
|
|
@ -0,0 +1 @@
|
|||
e3bb60f0b568365870f244bb79152d5158a2a193af8a9f7d4036a88774ebbb545cf51f243971e84acd2a622f197c5201f39bd95acab27f418f1234800445bd21
|
||||
|
|
@ -0,0 +1,70 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project xmlns="http://maven.apache.org/POM/4.0.0" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>com.chuangketie.jk</groupId>
|
||||
<artifactId>lib_base</artifactId>
|
||||
<version>1.1.0</version>
|
||||
<packaging>aar</packaging>
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>androidx.appcompat</groupId>
|
||||
<artifactId>appcompat</artifactId>
|
||||
<version>1.7.0</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.google.android.material</groupId>
|
||||
<artifactId>material</artifactId>
|
||||
<version>1.12.0</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.google.code.gson</groupId>
|
||||
<artifactId>gson</artifactId>
|
||||
<version>2.9.0</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.squareup.okhttp3</groupId>
|
||||
<artifactId>okhttp</artifactId>
|
||||
<version>5.0.0-alpha.16</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.squareup.okhttp3</groupId>
|
||||
<artifactId>logging-interceptor</artifactId>
|
||||
<version>5.0.0-alpha.16</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.github.bumptech.glide</groupId>
|
||||
<artifactId>glide</artifactId>
|
||||
<version>4.16.0</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>jp.wasabeef</groupId>
|
||||
<artifactId>glide-transformations</artifactId>
|
||||
<version>4.3.0</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.github.centerzx</groupId>
|
||||
<artifactId>ShapeBlurView</artifactId>
|
||||
<version>1.0.5</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.github.getActivity</groupId>
|
||||
<artifactId>Toaster</artifactId>
|
||||
<version>12.8</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.github.getActivity</groupId>
|
||||
<artifactId>XXPermissions</artifactId>
|
||||
<version>26.5</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.github.CymChad</groupId>
|
||||
<artifactId>BaseRecyclerViewAdapterHelper</artifactId>
|
||||
<version>2.9.28</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.geyifeng.immersionbar</groupId>
|
||||
<artifactId>immersionbar</artifactId>
|
||||
<version>3.2.2</version>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
</project>
|
||||
|
|
@ -0,0 +1 @@
|
|||
fa6ec869f528016bbfa57632d19422ca
|
||||
|
|
@ -0,0 +1 @@
|
|||
bded2a8ac1d2bded89c2eeaafac8a6cf71b27d1c
|
||||
|
|
@ -0,0 +1 @@
|
|||
cfeb45fae58ba8d1e25832f81491912f57b074064ed2fe1b803a3ee703ef9712
|
||||
|
|
@ -0,0 +1 @@
|
|||
8196f2b03053887d130eed4cc01bd8c8c37f55d4be4cfd2b5a7102c3a10da870bed335b098a753ccdb0ebd4d386bf195a3ce5ba4ade01bb901d16a2a8ced1f87
|
||||
|
|
@ -3,12 +3,13 @@
|
|||
<groupId>com.chuangketie.jk</groupId>
|
||||
<artifactId>lib_base</artifactId>
|
||||
<versioning>
|
||||
<latest>1.0.1</latest>
|
||||
<release>1.0.1</release>
|
||||
<latest>1.1.0</latest>
|
||||
<release>1.1.0</release>
|
||||
<versions>
|
||||
<version>1.0.0</version>
|
||||
<version>1.0.1</version>
|
||||
<version>1.1.0</version>
|
||||
</versions>
|
||||
<lastUpdated>20260104020933</lastUpdated>
|
||||
<lastUpdated>20260106061234</lastUpdated>
|
||||
</versioning>
|
||||
</metadata>
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
8aa1a2f06d5b9e6c320020a3a6ce2fcb
|
||||
5066a6b0dbb210a54474e49028391787
|
||||
|
|
@ -1 +1 @@
|
|||
7d7c94acce10969ea6b37d948cccdf611cdb9ae2
|
||||
94ce02e02754089b391ea71049e474019d6c6efc
|
||||
|
|
@ -1 +1 @@
|
|||
d7417bf2a5bebc2c8af1b23d08ed7249333ff9c4e368de41d9f8616708fc162a
|
||||
1d26aae6c51048f59018f2ff94185aa2ec6749a76f59267bd8e79c08ba0d2929
|
||||
|
|
@ -1 +1 @@
|
|||
2965f96ad4670bd76bb51d8a0cd967d8bedf7661bacded99f352b9ac7ffbaa23536387b0754683b71727175bce797f612b09849cea6c7f72ff0e11da0724032b
|
||||
9f5af0fe82b06ba0ae1a118053a5326bdd17b7f21f4188265e91d49a472e51f5dde812e851f2eabc6da3a4e3fb21f542068b7c879b9767ff472278bf03b23722
|
||||
Loading…
Reference in New Issue