Skip to content

Commit 8cba552

Browse files
committed
Updated readme
1 parent a3045b4 commit 8cba552

File tree

1 file changed

+9
-6
lines changed

1 file changed

+9
-6
lines changed

README.md

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
EventBus
22
========
3-
EventBus is publish/subscribe event bus optimized for Android.<br/>
3+
EventBus is a publish/subscribe event bus optimized for Android.<br/>
44
<img src="EventBus-Publish-Subscribe.png" width="500" height="187"/>
55

66
EventBus...
@@ -17,21 +17,24 @@ EventBus...
1717

1818
[![Build Status](https://travis-ci.org/greenrobot/EventBus.svg?branch=master)](https://travis-ci.org/greenrobot/EventBus)
1919

20-
EventBus in 4 steps
20+
EventBus in 3 steps
2121
-------------------
2222
1. Define events:<br/>
2323
<code>public class MessageEvent { /* Additional fields if needed */ }</code><br/><br/>
24-
2. Register your subscriber (in your onCreate or in a constructor):<br/>
24+
2. Prepare subscribers<br/>
25+
Register your subscriber (in your onCreate or in a constructor):<br/>
2526
<code>eventBus.register(this);</code><br/><br/>
26-
3. Declare your subscribing method<br/>
27+
Declare your subscribing method:<br/>
2728
<code>@Subscribe</code><br/>
2829
<code>public void onEvent(AnyEventType event) {/* Do something */};</code><br/><br/>
29-
4. Post events:<br/>
30+
3. Post events:<br/>
3031
<code>eventBus.post(event);</code>
3132

33+
This [getting started guide](http://greenrobot.org/eventbus/documentation/how-to-get-started/) shows these 3 steps in more detail.
34+
3235
Add EventBus to your project
3336
----------------------------
34-
EventBus is available on Maven Central. Please ensure that you are using the latest version by [checking here](http://search.maven.org/#search%7Cga%7C1%7Cg%3A%22org.greenrobot%22%20AND%20a%3A%22eventbus%22)
37+
Please ensure that you are using the latest version by [checking here](http://search.maven.org/#search%7Cga%7C1%7Cg%3A%22org.greenrobot%22%20AND%20a%3A%22eventbus%22)
3538

3639
Gradle:
3740
```

0 commit comments

Comments
 (0)