Skip to content

Commit

Permalink
Version 1.0.0 released
Browse files Browse the repository at this point in the history
  • Loading branch information
alexvasilkov committed May 14, 2016
1 parent cfb1e04 commit dc8deec
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ see Multithreading section below.
Any method names and access modifiers are allowed. Method parameters can be of any number and any
types but they should match the one which was posted by sender.
Another options and more info can be found in
[`Events.Subscribe`](http://static.javadoc.io/com.alexvasilkov/events/0.5.0-beta-1/com/alexvasilkov/events/Events.Subscribe.html)
[`Events.Subscribe`](http://static.javadoc.io/com.alexvasilkov/events/1.0.0/com/alexvasilkov/events/Events.Subscribe.html)
javadoc.

Now we need to register subscriber within event bus. That's done by passing instance of the object
Expand All @@ -70,7 +70,7 @@ Events.unregister(this);

Subscriber can choose to be executed in background to offload the main thread.
This is done using
[`Events.Background`](http://static.javadoc.io/com.alexvasilkov/events/0.5.0-beta-1/com/alexvasilkov/events/Events.Background.html)
[`Events.Background`](http://static.javadoc.io/com.alexvasilkov/events/1.0.0/com/alexvasilkov/events/Events.Background.html)
annotation:

```java
Expand Down Expand Up @@ -109,7 +109,7 @@ private static void onLoadRepositoryStatus(EventStatus status) {

`STARTED` state is always called before any results or failure callbacks (see further)
and `FINISHED` state is always the last one. See
[`Events.Status`](http://static.javadoc.io/com.alexvasilkov/events/0.5.0-beta-1/com/alexvasilkov/events/Events.Status.html)
[`Events.Status`](http://static.javadoc.io/com.alexvasilkov/events/1.0.0/com/alexvasilkov/events/Events.Status.html)
for more details.

##### Result #####
Expand All @@ -136,7 +136,7 @@ private void onLoadRepositoryResult(List<Repository> list) {
Note that you may receive several results if, for example, several subscribers were registered
or several results were posted from single subscriber. There are also a few ways to provide
subscriber execution result. See
[`Events.Result`](http://static.javadoc.io/com.alexvasilkov/events/0.5.0-beta-1/com/alexvasilkov/events/Events.Result.html)
[`Events.Result`](http://static.javadoc.io/com.alexvasilkov/events/1.0.0/com/alexvasilkov/events/Events.Result.html)
javadoc for more details.

##### Failures #####
Expand Down Expand Up @@ -173,7 +173,7 @@ private static void onAnyError(Throwable error) {
```

More info can be found in
[`Events.Failure`](http://static.javadoc.io/com.alexvasilkov/events/0.5.0-beta-1/com/alexvasilkov/events/Events.Failure.html)
[`Events.Failure`](http://static.javadoc.io/com.alexvasilkov/events/1.0.0/com/alexvasilkov/events/Events.Failure.html)
javadoc.


Expand All @@ -184,11 +184,11 @@ in background.

```groovy
dependencies {
compile 'com.alexvasilkov:events:0.5.0-beta-1'
compile 'com.alexvasilkov:events:1.0.0'
}
```

[Javadoc](http://www.javadoc.io/doc/com.alexvasilkov/events/0.5.0-beta-1) documentation.
[Javadoc](http://www.javadoc.io/doc/com.alexvasilkov/events/1.0.0) documentation.

#### License ####

Expand Down
6 changes: 3 additions & 3 deletions library/gradle.properties
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
VERSION_NAME=0.5.0-beta-1
VERSION_CODE=7
VERSION_NAME=1.0.0
VERSION_CODE=8

POM_NAME=Events
POM_GROUP=com.alexvasilkov
POM_ARTIFACT_ID=events
POM_PACKAGING=jar

POM_DESCRIPTION=Advanced events bus implementation for Android
POM_DESCRIPTION=Android event bus for remote methods calls and multithreading
POM_URL=https://github.com/alexvasilkov/Events
POM_SCM_URL=https://github.com/alexvasilkov/Events
POM_SCM_CONNECTION=scm:[email protected]:alexvasilkov/Events.git
Expand Down

0 comments on commit dc8deec

Please sign in to comment.