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 5f94a46 commit fc4a6ed
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 4 deletions.
10 changes: 7 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,15 +89,19 @@ dependencies {

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

从 3.3.0以下 -> 3.4.0及以上:
从 3.3.0以下 升级到 3.4.0及以上:

```java
protected abstract View inflateView(LayoutInflater inflater, ViewGroup container);
-> 替换为
@Deprecated
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: 4 additions & 1 deletion docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,11 @@ dependencies {
从 3.3.0以下 升级到 3.4.0及以上:

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

Expand Down

0 comments on commit fc4a6ed

Please sign in to comment.