Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
dreamgyf committed Nov 5, 2022
1 parent 336842b commit bfc6fbe
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 12 deletions.
9 changes: 3 additions & 6 deletions README-zh_cn.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
![Kotlin](https://img.shields.io/badge/-Kotlin-blueviolet)
[![Gradle](https://img.shields.io/badge/-Gradle-01303a)](https://plugins.gradle.org/plugin/com.dreamgyf.android.fastinflate)
[![Maven](https://img.shields.io/badge/-Maven-5f86eb)](https://search.maven.org/artifact/com.dreamgyf.android.plugin/FastInflate)
[![CI](https://github.com/dreamgyf/FastInflate/actions/workflows/ci.yml/badge.svg)](https://github.com/dreamgyf/FastInflate/actions/workflows/ci.yml)
[![version](https://img.shields.io/github/v/release/dreamgyf/FastInflate.svg?label=version&color=red)](https://github.com/dreamgyf/FastInflate/releases)
[![stars](https://img.shields.io/github/stars/dreamgyf/FastInflate)](https://github.com/dreamgyf/FastInflate/stargazers)
[![LICENSE](https://img.shields.io/github/license/dreamgyf/FastInflate)](./LICENSE)
Expand Down Expand Up @@ -40,7 +41,7 @@ dependencyResolutionManagement {

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

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

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

Expand All @@ -73,16 +74,12 @@ FastInflate.from(this).inflate(R.layout.activity_main, null)

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

- 目前暂不支持多`module`项目

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

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

- 当前版本为`alpha`测试版,尚未对所有`Android`版本进行兼容性测试

- 当前版本`FastInflate`初始化较慢,将在后续版本中解决此问题

## 性能测试

**注:以下测试结果均基于此分支`activity_main`布局**
Expand Down
9 changes: 3 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
![Kotlin](https://img.shields.io/badge/-Kotlin-blueviolet)
[![Gradle](https://img.shields.io/badge/-Gradle-01303a)](https://plugins.gradle.org/plugin/com.dreamgyf.android.fastinflate)
[![Maven](https://img.shields.io/badge/-Maven-5f86eb)](https://search.maven.org/artifact/com.dreamgyf.android.plugin/FastInflate)
[![CI](https://github.com/dreamgyf/FastInflate/actions/workflows/ci.yml/badge.svg)](https://github.com/dreamgyf/FastInflate/actions/workflows/ci.yml)
[![version](https://img.shields.io/github/v/release/dreamgyf/FastInflate.svg?label=version&color=red)](https://github.com/dreamgyf/FastInflate/releases)
[![stars](https://img.shields.io/github/stars/dreamgyf/FastInflate)](https://github.com/dreamgyf/FastInflate/stargazers)
[![LICENSE](https://img.shields.io/github/license/dreamgyf/FastInflate)](./LICENSE)
Expand Down Expand Up @@ -40,7 +41,7 @@ dependencyResolutionManagement {

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

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

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

Expand All @@ -73,16 +74,12 @@ 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-module projects are not supported currently.

- 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.

- The initialization of the current version of `FastInflate` is slow, this problem will be solved in subsequent versions.

## Performance test

**ps:The following test results are based on `activity_main` layout of this branch.**
Expand Down

0 comments on commit bfc6fbe

Please sign in to comment.