Skip to content

Commit f58ab77

Browse files
authored
Update README.md
1 parent 4501068 commit f58ab77

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -64,11 +64,11 @@ class MyClass { // extends ...
6464
@Receive(action = {Intent.ACTION_SCREEN_ON, Intent.ACTION_SCREEN_OFF})
6565
onScreenChange(Context context, Intent intent) { ... } // multiple
6666

67-
@Receive(action = {"custom1", "custom2"}, threadMode = ThreadModus.ASYNC)
68-
onCustom() { ... } // asynchronous
67+
@Receive(action = "custom1", threadMode = ThreadModus.ASYNC)
68+
onCustomAsync() { ... } // asynchronous
6969

7070
@Receive(action = Intent.ACTION_SHUTDOWN)
71-
static withoutRegister() { ... } // static - called once regardless of registration
71+
static withoutRegister() { ... } // static - called regardless of registration
7272
```
7373

7474
#### To register Breadcast implicit via manifest, use _ManifestBreadcast_

0 commit comments

Comments
 (0)