Permalink
Browse files

Fix #139

  • Loading branch information...
pocorall committed Feb 12, 2016
1 parent 9a67528 commit 4a18a5d0c022d4d61d97903624fc7d07604404c1
Showing with 2 additions and 2 deletions.
  1. +2 −2 README.md
View
@@ -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()
}
```
@@ -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)
```

0 comments on commit 4a18a5d

Please sign in to comment.