Skip to content

Commit

Permalink
更新说明
Browse files Browse the repository at this point in the history
  • Loading branch information
xuexiangjys committed May 11, 2023
1 parent fc4a6ed commit 9bf4bff
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 8 deletions.
8 changes: 3 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,21 +87,19 @@ dependencies {
}
```

注意】3.3.0及以上版本去除了ButterKnife的依赖。
版本注意】3.3.0及以上版本去除了ButterKnife的依赖。

从 3.3.0以下 升级到 3.4.0及以上:
【升级注意】从 3.3.0以下 升级到 3.4.0及以上:

```java
@Deprecated
protected abstract View inflateView(LayoutInflater inflater, ViewGroup container);
protected abstract View inflateView(LayoutInflater inflater, ViewGroup container);
```
------> 替换为
```java
protected abstract View onCreateContentView(@NonNull LayoutInflater inflater, @Nullable ViewGroup container, boolean attachToRoot);
```



* support版本:2.3.0及以下

```
Expand Down
5 changes: 2 additions & 3 deletions docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,9 @@ dependencies {
}
```

注意】3.3.0及以上版本去除了ButterKnife的依赖。
版本注意】3.3.0及以上版本去除了ButterKnife的依赖。

从 3.3.0以下 升级到 3.4.0及以上:
【升级注意】从 3.3.0以下 升级到 3.4.0及以上:

```java
@Deprecated
Expand All @@ -64,7 +64,6 @@ dependencies {
protected abstract View onCreateContentView(@NonNull LayoutInflater inflater, @Nullable ViewGroup container, boolean attachToRoot);
```


* support版本:2.3.0及以下

```
Expand Down

0 comments on commit 9bf4bff

Please sign in to comment.