Skip to content

Commit

Permalink
Update to 1.0.2
Browse files Browse the repository at this point in the history
  • Loading branch information
YoKeyword committed Nov 15, 2019
1 parent 622ec1a commit d022d40
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,15 +46,15 @@ The first demo shows the basic usage of the library. The second one shows the wa
**1、build.gradle**
````gradle
// This is the use of androidx, if you are using the android.support: fragmentationx -> fragmentation
implementation 'me.yokeyword:fragmentationx:1.0.1'
implementation 'me.yokeyword:fragmentationx:1.0.2'
// If you don't want to extends SupportActivity/Fragment and would like to customize your own support, just rely on fragmentation-core
// implementation 'me.yokeyword:fragmentationx-core:1.0.1'
// implementation 'me.yokeyword:fragmentationx-core:1.0.2'
// To get SwipeBack feature, rely on both fragmentation & fragmentation-swipeback
implementation 'me.yokeyword:fragmentationx:1.0.1'
implementation 'me.yokeyword:fragmentationx:1.0.2'
// Swipeback is based on fragmentation. Refer to SwipeBackActivity/Fragment for your Customized SupportActivity/Fragment
implementation 'me.yokeyword:fragmentationx-swipeback:1.0.1'
implementation 'me.yokeyword:fragmentationx-swipeback:1.0.2'
// To simplify the communication between Fragments.
implementation 'me.yokeyword:eventbus-activity-scope:1.1.0'
Expand Down
8 changes: 4 additions & 4 deletions README_CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,15 +53,15 @@ A powerful library that manage Fragment for Android!

````gradle
// 以下为androidx的使用方式,如果使用的是android.support包,fragmentationx -> fragmentation 即可
implementation 'me.yokeyword:fragmentationx:1.0.1'
implementation 'me.yokeyword:fragmentationx:1.0.2'
// 如果不想继承SupportActivity/Fragment,自己定制Support,可仅依赖:
// implementation 'me.yokeyword:fragmentationx-core:1.0.1'
// implementation 'me.yokeyword:fragmentationx-core:1.0.2'
// 如果想使用SwipeBack 滑动边缘退出Fragment/Activity功能,完整的添加规则如下:
implementation 'me.yokeyword:fragmentationx:1.0.1'
implementation 'me.yokeyword:fragmentationx:1.0.2'
// swipeback基于fragmentation, 如果是自定制SupportActivity/Fragment,则参照SwipeBackActivity/Fragment实现即可
implementation 'me.yokeyword:fragmentationx-swipeback:1.0.1'
implementation 'me.yokeyword:fragmentationx-swipeback:1.0.2'
// Activity作用域的EventBus,通信更安全
implementation 'me.yokeyword:eventbus-activity-scope:1.1.0'
Expand Down
4 changes: 2 additions & 2 deletions fragmentation_swipeback/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ Activity内Fragment数大于1时,滑动返回的是Fragment,否则滑动返
### 注意:以下为androidx的使用方式,如果使用的是android.support包,[点击这里](https://github.com/YoKeyword/Fragmentation/blob/master/fragmentation_swipeback/README.md)
1、项目下app的build.gradle中依赖:
````gradle
implementation 'me.yokeyword:fragmentationx:1.0.1'
implementation 'me.yokeyword:fragmentationx-swipeback:1.0.1'
implementation 'me.yokeyword:fragmentationx:1.0.2'
implementation 'me.yokeyword:fragmentationx-swipeback:1.0.2'
````

2、如果Activity也需要支持SwipeBack,则继承SwipeBackActivity:
Expand Down

0 comments on commit d022d40

Please sign in to comment.