Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
simplepeng committed Dec 24, 2018
1 parent 2cb073a commit 72e063e
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,18 +23,17 @@ releaseImplementation 'com.simple:spiderman-no-op:1.0.8'

## 初始化

> 放到Application的`onCreate()初始化中,因为static了传入的context,并且放在其他Library初始化的前面
放到Application的`onCreate()`初始化中,因为static了传入的context,并且放在其他Library初始化的前面

```java
public class App extends Application {

@Override
public void onCreate() {
super.onCreate();
//放在其他库初始化前
SpiderMan.init(this);
}

}
```

Expand Down

0 comments on commit 72e063e

Please sign in to comment.