Skip to content

Commit

Permalink
Fix #139
Browse files Browse the repository at this point in the history
  • Loading branch information
pocorall committed Feb 12, 2016
1 parent 9a67528 commit 4a18a5d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Expand Up @@ -254,7 +254,7 @@ def onPause() {
In Scaloid, the directly equivalent code is:

```scala
broadcastReceiver(ConnectivityManager.CONNECTIVITY_ACTION) { (context, intent) =>
broadcastReceiver(ConnectivityManager.CONNECTIVITY_ACTION) {
doSomething()
}
```
Expand All @@ -267,7 +267,7 @@ You can override a preference that determine when the register/unregister prefor
Overriding it is simple as well:

```scala
broadcastReceiver(ConnectivityManager.CONNECTIVITY_ACTION) { (context, intent) =>
broadcastReceiver(ConnectivityManager.CONNECTIVITY_ACTION) {
doSomething()
}(this, onStartStop)
```
Expand Down

0 comments on commit 4a18a5d

Please sign in to comment.