Skip to content

Latest commit

 

History

History
64 lines (46 loc) · 1.22 KB

README.md

File metadata and controls

64 lines (46 loc) · 1.22 KB

StatusBarAPi

APIDemo

Jitpack

You need to add in build.gradle

allprojects {
    repositories {
        ....
        maven { url 'https://www.jitpack.io' }
    }
}


dependencies {
    implementation 'com.github.577fkj:StatusBarApiExample:v2.0'
}
import StatusBarLyric.API.StatusBarLyric;

Attention: if proguard is enabled, make sure API class won't be obfuscated:

-keep class StatusBarLyric.API.StatusBarLyric {*;}

StatusBarAPi

APIDemo

Jitpack

需要在 build.gradle 添加

allprojects {
    repositories {
        ....
        maven { url 'https://www.jitpack.io' }
    }
}


dependencies {
    implementation 'com.github.577fkj:StatusBarApiExample:v2.0'
}
import StatusBarLyric.API.StatusBarLyric;

注意: 若开启了 proguard 请保证 API 类不被混淆:

-keep class StatusBarLyric.API.StatusBarLyric {*;}