Skip to content

Commit

Permalink
[Readme] 修改
Browse files Browse the repository at this point in the history
  • Loading branch information
F1ReKing committed Feb 3, 2018
1 parent 1cb0729 commit cb28862
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -91,15 +91,15 @@ dependencies {

**注意:自定义layout中id必须与lib中一致**

| 方法名 | 说明 | layout中ID |
| ---------------------------------------- | -------- | ---------------------------------------- |
| setOnLoadingLayout(@LayoutRes loadingLayoutID: Int) | 配置加载布局 | tv_status_loading |
| setOnLoadingLayout(loadingLayout: View) | 配置加载布局 | tv_status_loading |
| setOnEmptyLayout(@LayoutRes emptyLayoutID: Int) | 配置数据空布局 | iv_status_empty<br />tv_status_empty<br />tv_click_empty |
| setOnEmptyLayout(emptyLayout: View) | 配置数据空布局 | iv_status_empty<br />tv_status_empty<br />tv_click_empty |
| setOnErrorLayout(@LayoutRes errorLayoutID: Int) | 配置数据错误布局 | iv_status_error<br />tv_status_error<br />tv_click_error |
| setOnErrorLayout(errorLayout: View) | 配置数据错误布局 | iv_status_error<br />tv_status_error<br />tv_click_error |

| 方法名 | 说明 | layout中ID |
| ---------------------------------------- | -------- | ---------------------------------------- |
| setOnLoadingLayout(@LayoutRes loadingLayoutID: Int) | 配置加载布局 | tv_status_loading |
| setOnLoadingLayout(loadingLayout: View) | 配置加载布局 | tv_status_loading |
| setOnEmptyLayout(@LayoutRes emptyLayoutID: Int) | 配置数据空布局 | iv_status_empty<br />tv_status_empty<br />tv_click_empty |
| setOnEmptyLayout(emptyLayout: View) | 配置数据空布局 | iv_status_empty<br />tv_status_empty<br />tv_click_empty |
| setOnErrorLayout(@LayoutRes errorLayoutID: Int) | 配置数据错误布局 | iv_status_error<br />tv_status_error<br />tv_click_error |
| setOnErrorLayout(errorLayout: View) | 配置数据错误布局 | iv_status_error<br />tv_status_error<br />tv_click_error |
2. 配置文字、字体颜色等属性

| 方法名 | 说明 |
Expand Down

0 comments on commit cb28862

Please sign in to comment.