Skip to content

Commit

Permalink
修改说明文档
Browse files Browse the repository at this point in the history
  • Loading branch information
AlionSSS committed Feb 3, 2019
1 parent a4905a1 commit 8af8467
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
[Click Me (´・ω・`)](https://github.com/AlionSSS/MyNotifier/releases/download/1.0.0/MyNotifier.jar)

### How to use?
- 按value注册观察者
- 按key订阅消息
```java
Notify.getNotifier().subscribe("Chinese", new EventObserver() {
@Override
Expand All @@ -14,7 +14,7 @@ Notify.getNotifier().subscribe("Chinese", new EventObserver() {
}
});
```
- 按value分发消息
- 按key分发消息
```java
Notify.getNotifier().post("Chinese", "hello");
```
Expand Down

0 comments on commit 8af8467

Please sign in to comment.