-
Notifications
You must be signed in to change notification settings - Fork 991
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
+):添加了EventBus 消息总线框架源码分析相关实例以及Otto框架性能对比文章
- Loading branch information
1 parent
d38e341
commit ad20848
Showing
7 changed files
with
122 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
26 changes: 26 additions & 0 deletions
26
app/src/main/java/com/chinaztt/fda/event/TestEventSecond.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
package com.chinaztt.fda.event; | ||
|
||
/** | ||
* 当前类注释:EventBus测试 First事件类 | ||
* 项目名:FastDev4Android | ||
* 包名:com.chinaztt.fda.event | ||
* 作者:江清清 on 15/11/4 10:54 | ||
* 邮箱:[email protected] | ||
* QQ: 781931404 | ||
* 公司:江苏中天科技软件技术有限公司 | ||
*/ | ||
public class TestEventSecond { | ||
private String msg; | ||
|
||
public String getMsg() { | ||
return msg; | ||
} | ||
|
||
public void setMsg(String msg) { | ||
this.msg = msg; | ||
} | ||
|
||
public TestEventSecond(String msg){ | ||
this.msg=msg; | ||
} | ||
} |
26 changes: 26 additions & 0 deletions
26
app/src/main/java/com/chinaztt/fda/event/TestEventThird.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
package com.chinaztt.fda.event; | ||
|
||
/** | ||
* 当前类注释: | ||
* 项目名:FastDev4Android | ||
* 包名:com.chinaztt.fda.event | ||
* 作者:江清清 on 15/11/4 10:55 | ||
* 邮箱:[email protected] | ||
* QQ: 781931404 | ||
* 公司:江苏中天科技软件技术有限公司 | ||
*/ | ||
public class TestEventThird { | ||
private String msg; | ||
|
||
public String getMsg() { | ||
return msg; | ||
} | ||
|
||
public void setMsg(String msg) { | ||
this.msg = msg; | ||
} | ||
|
||
public TestEventThird(String msg){ | ||
this.msg=msg; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters