Skip to content

Commit

Permalink
发布2.2.3版本
Browse files Browse the repository at this point in the history
  • Loading branch information
xuexiangjys committed Aug 13, 2018
1 parent 38658a9 commit 515d140
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 9 deletions.
10 changes: 6 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,9 @@ allprojects {
dependencies {
...
//XPage
implementation 'com.github.xuexiangjys.XPage:xpage-lib:2.2.2'
annotationProcessor 'com.github.xuexiangjys.XPage:xpage-compiler:2.2.2'
//butterknife的sdk
implementation 'com.github.xuexiangjys.XPage:xpage-lib:2.2.3'
annotationProcessor 'com.github.xuexiangjys.XPage:xpage-compiler:2.2.3'
//ButterKnife的sdk
implementation 'com.jakewharton:butterknife:8.4.0'
annotationProcessor 'com.jakewharton:butterknife-compiler:8.4.0'
}
Expand Down Expand Up @@ -241,6 +241,8 @@ protected int getLayoutId() {
changePage(TestFragment.PAGE_NAME, null, CoreAnim.none);
```

【注意】在切换Fragment的时候,fragment并不会走onResume和onPause生命周期,建议使用onHiddenChanged代替。

4.使用`getPage`方法获取指定的Fragment,就可以获取该fragment页面中的数据。

```
Expand Down Expand Up @@ -274,7 +276,7 @@ https://github.com/lizhangqu/CorePage/

![](https://github.com/xuexiangjys/XPage/blob/master/img/qq_group.jpg)

[xpsvg]: https://img.shields.io/badge/XPage-v2.2.2-brightgreen.svg
[xpsvg]: https://img.shields.io/badge/XPage-v2.2.3-brightgreen.svg
[xp]: https://github.com/xuexiangjys/XPage
[apisvg]: https://img.shields.io/badge/API-14+-brightgreen.svg
[api]: https://android-arsenal.com/api?level=14
Expand Down
8 changes: 4 additions & 4 deletions docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,9 @@ allprojects {
dependencies {
...
//XPage
implementation 'com.github.xuexiangjys.XPage:xpage-lib:2.2.2'
annotationProcessor 'com.github.xuexiangjys.XPage:xpage-compiler:2.2.2'
//butterknife的sdk
implementation 'com.github.xuexiangjys.XPage:xpage-lib:2.2.3'
annotationProcessor 'com.github.xuexiangjys.XPage:xpage-compiler:2.2.3'
//ButterKnife的sdk
implementation 'com.jakewharton:butterknife:8.4.0'
annotationProcessor 'com.jakewharton:butterknife-compiler:8.4.0'
}
Expand All @@ -65,7 +65,7 @@ defaultConfig {
[![](https://img.shields.io/badge/点我一键加入QQ群-602082750-blue.svg)](http://shang.qq.com/wpa/qunwpa?idkey=9922861ef85c19f1575aecea0e8680f60d9386080a97ed310c971ae074998887)


[xpsvg]: https://img.shields.io/badge/XPage-v2.2.2-brightgreen.svg
[xpsvg]: https://img.shields.io/badge/XPage-v2.2.3-brightgreen.svg
[xp]: https://github.com/xuexiangjys/XPage
[apisvg]: https://img.shields.io/badge/API-14+-brightgreen.svg
[api]: https://android-arsenal.com/api?level=14
2 changes: 1 addition & 1 deletion xpage-lib/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ android {
dependencies {
implementation fileTree(include: ['*.jar'], dir: 'libs')
compileOnly deps.support.app_compat
//butterknife的sdk
//butterKnife的sdk
implementation deps.butterknife.runtime
annotationProcessor deps.butterknife.compiler

Expand Down

0 comments on commit 515d140

Please sign in to comment.