Skip to content

Commit

Permalink
publish v1.2.5
Browse files Browse the repository at this point in the history
  • Loading branch information
KingJA committed Jul 28, 2017
1 parent 7d78eec commit 4b775c5
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 6 deletions.
10 changes: 10 additions & 0 deletions .idea/checkstyle-idea.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 5 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@

ActivityBus
---
ActivityBus provides a simple annotation-based API,generates a helper class to transfer various types of data between Activities and from Activity to Fragment,in order to keep your code clean and your job efficient.
ActivityBus provides a simple annotation-based API, generates a helper class to transfer various types of data from Activity to Activity and Activity to Fragment, in order to keep your code clean and your job efficient.

English | [中文](https://github.com/KingJA/ActivityBus/blob/master/README_CN.md)
![](https://github.com/KingJA/ActivityBus/blob/master/res/activitybus.png)
Expand Down Expand Up @@ -43,7 +42,7 @@ public class TargetActivity extends AppCompatActivity {
```

###### Step 2 (transfer data)
Upon compilation, ActivityBus generates a class as TargetActivityBus([Activity Name] + Bus),call **goActivity()** to transfer the data in the 'FromActivity',here is MainActivity.
Upon compilation, ActivityBus will generate a class such as TargetActivityBus ([**Activity Name**] + **Bus**), then call **goActivity()** to transfer the data in the `FromActivity`, here is MainActivity.

```java
public class MainActivity extends AppCompatActivity {
Expand Down Expand Up @@ -99,9 +98,11 @@ getSupportFragmentManager().beginTransaction().add(R.id.fl_fragment, targetFragm

Changelog
---
**Version 1.2.5 (2017-07-28)**
- add Fragment case.

**Version 1.1.1 (2017-07-20)**
- Initial release .
- Initial release.

Contact me
---
Expand Down
3 changes: 1 addition & 2 deletions README_CN.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@

ActivityBus
---
ActivtyBus基于编译时注解,自动生成帮助类,实现Activity和Activityt之间,Activity和Fragment之间的一键数值传值,避免了重写模板代码,提高开发效率。
ActivtyBus基于编译时注解,自动生成帮助类,实现Activity和Activityt之间,Activity和Fragment之间的一键数据传值,避免了重写模板代码,提高开发效率。

中文 | [English](https://github.com/KingJA/ActivityBus/blob/master/README.md)
![](https://github.com/KingJA/ActivityBus/blob/master/res/activitybus.png)
Expand Down

0 comments on commit 4b775c5

Please sign in to comment.