Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
dreamgyf committed Nov 7, 2022
1 parent 2bee3ee commit 289e65f
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,6 @@ class FastInflate private constructor(private val appContext: Context) {

private val inflateMethodMap = mutableMapOf<Int, Pair<Any, Method>?>()

private val tempTypedValue = TypedValue()

fun inflate(
@LayoutRes resource: Int,
root: ViewGroup?,
Expand Down
6 changes: 2 additions & 4 deletions README-zh_cn.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ dependencyResolutionManagement {

```groovy
plugins {
id 'com.dreamgyf.android.fastinflate' version '0.1.0-alpha-04' apply false
id 'com.dreamgyf.android.fastinflate' version '0.1.0-alpha-05' apply false
}
```

Expand All @@ -57,7 +57,7 @@ plugins {

```groovy
dependencies {
implementation 'com.dreamgyf.android.fastinflate:0.1.0-alpha-04'
implementation 'com.dreamgyf.android.fastinflate:0.1.0-alpha-05'
}
```

Expand All @@ -74,8 +74,6 @@ FastInflate.from(this).inflate(R.layout.activity_main, null)

- 编译此项目请直接`clone`父工程 [AndroidLibraries](https://github.com/dreamgyf/AndroidLibraries)

- 目前暂不支持多`layout`目录(如`layout-v23`

- `<include />`标签不支持使用`theme`属性

- 当前版本为`alpha`测试版,尚未对所有`Android`版本进行兼容性测试
Expand Down
6 changes: 2 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ dependencyResolutionManagement {

```groovy
plugins {
id 'com.dreamgyf.android.fastinflate' version '0.1.0-alpha-04' apply false
id 'com.dreamgyf.android.fastinflate' version '0.1.0-alpha-05' apply false
}
```

Expand All @@ -57,7 +57,7 @@ plugins {

```groovy
dependencies {
implementation 'com.dreamgyf.android.fastinflate:0.1.0-alpha-04'
implementation 'com.dreamgyf.android.fastinflate:0.1.0-alpha-05'
}
```

Expand All @@ -74,8 +74,6 @@ FastInflate.from(this).inflate(R.layout.activity_main, null)

- If you want compile this project, please `clone` the parent project [AndroidLibraries](https://github.com/dreamgyf/AndroidLibraries) directly.

- Multi-directory of `layout` is not supported currently. (For Example: `layout-v23`)

- The `<include />` tag doesn't supported to use `theme` attribute.

- The current version is an alpha beta, and have not done compatibility tests for all of the Android versions.
Expand Down

0 comments on commit 289e65f

Please sign in to comment.