Skip to content

Commit 1712d95

Browse files
authored
Merge branch 'Blankj:master' into master
2 parents 529af3a + 64555be commit 1712d95

File tree

743 files changed

+83554
-8295
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

743 files changed

+83554
-8295
lines changed

.github/FUNDING.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# These are supported funding model platforms
2+
3+
github: # Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2]
4+
patreon: # Replace with a single Patreon username
5+
open_collective: # Replace with a single Open Collective username
6+
ko_fi: # Replace with a single Ko-fi username
7+
tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel
8+
community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry
9+
liberapay: # Replace with a single Liberapay username
10+
issuehunt: # Replace with a single IssueHunt username
11+
otechie: # Replace with a single Otechie username
12+
custom: https://raw.githubusercontent.com/Blankj/AndroidUtilCode/master/art/donate.png
Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
---
2+
name: Bug report
3+
about: Make AndroidUtilCode more perfect!
4+
labels: bug
5+
assignees: Blankj
6+
7+
---
8+
9+
## Describe the bug
10+
11+
A clear and concise description of what the bug is.
12+
13+
- The version of AndroidUtilCode: <!-- e.g. utilcode:1.16.3 or utilcodex:1.16.3 -->
14+
- The device: <!-- e.g. Nexus 5X -->
15+
- The version of device: <!-- API 27 -->
16+
17+
## The code of bug
18+
19+
<!-- e.g.
20+
```java
21+
CrashUtils.init();
22+
```
23+
-->
24+
```
25+
put your code here
26+
```
27+
28+
## The stack of crash
29+
30+
<!-- e.g.
31+
```
32+
Caused by: java.lang.NullPointerException: u should init first
33+
at com.blankj.utilcode.util.Utils.getApp(Utils.java:98)
34+
at com.blankj.utilcode.util.CrashUtils.<clinit>(CrashUtils.java:55)
35+
at com.blankj.utilcode.util.CrashUtils.init(CrashUtils.java:168) 
36+
at com.blankj.androidutilcode.UtilsApp.initCrash(UtilsApp.java:71) 
37+
at com.blankj.androidutilcode.UtilsApp.onCreate(UtilsApp.java:33) 
38+
```
39+
-->
40+
41+
```
42+
put the stack of crash here
43+
```
44+
45+
## Screenshots
46+
47+
If applicable, add screenshots to help explain your problem.
48+
49+
50+
## Please delete the current line and the following.
51+
52+
Thank you for supporting [AndroidUtilCode](https://github.com/Blankj/AndroidUtilCode).
Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
---
2+
name: 提交 Bug
3+
about: 让工具类更完美!
4+
labels: bug
5+
assignees: Blankj
6+
7+
---
8+
9+
## 描述 Bug
10+
11+
简洁地描述下 Bug。
12+
13+
- AndroidUtilCode 的版本:<!-- 例如 utilcode:1.16.3 或 utilcodex:1.16.3(这里面是注释,内容需要放在外面) -->
14+
- 出现 Bug 的设备型号:<!-- 例如 Nexus 5X -->
15+
- 设备的 Android 版本:<!-- 例如 API 27 -->
16+
17+
## 相关代码
18+
19+
<!-- 例如
20+
```java
21+
CrashUtils.init();
22+
```
23+
-->
24+
```
25+
put your code here
26+
```
27+
28+
## 异常堆栈
29+
30+
<!-- 例如
31+
```
32+
Caused by: java.lang.NullPointerException: u should init first
33+
at com.blankj.utilcode.util.Utils.getApp(Utils.java:98)
34+
at com.blankj.utilcode.util.CrashUtils.<clinit>(CrashUtils.java:55)
35+
at com.blankj.utilcode.util.CrashUtils.init(CrashUtils.java:168) 
36+
at com.blankj.androidutilcode.UtilsApp.initCrash(UtilsApp.java:71) 
37+
at com.blankj.androidutilcode.UtilsApp.onCreate(UtilsApp.java:33) 
38+
```
39+
-->
40+
41+
```
42+
put the stack of crash here
43+
```
44+
45+
## 截图
46+
47+
如果有的话请添加屏幕截图以帮助解释问题。
48+
49+
50+
## 请删除当前行及以下内容
51+
52+
感谢支持 [AndroidUtilCode](https://github.com/Blankj/AndroidUtilCode).
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
---
2+
name: Feature request
3+
about: Make AndroidUtilCode more perfect!
4+
labels: help wanted
5+
assignees: Blankj
6+
7+
---
8+
9+
## Describe the feature
10+
11+
A clear and concise description of what the feature is.
12+
13+
14+
## Reference
15+
16+
Hope to give some reference articles, links, code, if any.
17+
18+
19+
## Please delete the current line and the following
20+
21+
Thank you for supporting [AndroidUtilCode](https://github.com/Blankj/AndroidUtilCode).
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
---
2+
name: 提交需求
3+
about: 让工具类更健全!
4+
labels: help wanted
5+
assignees: Blankj
6+
7+
---
8+
9+
## 描述需求
10+
11+
简洁地描述下需求。
12+
13+
14+
## 可借鉴的
15+
16+
如果有的话,可以给出一些参考文章、链接、代码
17+
18+
19+
## 请删除当前行及以下内容
20+
21+
感谢支持 [AndroidUtilCode](https://github.com/Blankj/AndroidUtilCode).

.github/workflows/android.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
name: Android CI
2+
3+
on: [push]
4+
5+
jobs:
6+
build:
7+
8+
runs-on: ubuntu-latest
9+
10+
steps:
11+
- uses: actions/checkout@v2
12+
- name: set up JDK 1.8
13+
uses: actions/setup-java@v1
14+
with:
15+
java-version: 1.8
16+
- name: Build with Gradle
17+
run: ./gradlew build aR

.gitignore

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
*.iml
2+
__api__.json
3+
__bus__.json
4+
.gradle
5+
local.properties
6+
.idea
7+
.DS_Store
8+
/build
9+
/captures
10+
.externalNativeBuild
11+
/apk
12+
*.phrof
13+
/mavenLocal
14+
/reports
15+
*/reports

0 commit comments

Comments
 (0)