You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+8-26Lines changed: 8 additions & 26 deletions
Original file line number
Diff line number
Diff line change
@@ -18,49 +18,31 @@ APP_PACKAGE_NAME
18
18
The template project imports the [Meepo](https://github.com/nekocode/Meepo) library to create activity & broadcast routers. And use kotlin language sugars to make their usages simpler. For example:
19
19
20
20
```kotlin
21
-
//Goto a new activity
22
-
activityRouter().gotoXxxActivity(this)
21
+
//Navigate to a new activity
22
+
activityRouter.gotoXxxActivity(this)
23
23
24
-
// Broadcast a action
25
-
broadcastRouter().tellSomeSth(this)
24
+
// Broadcast something
25
+
broadcastRouter.tellSomeSth(this)
26
26
27
-
//Receiver a broadcast
27
+
//Register broadcast receiver
28
28
registerLocalReceiver({ _, intent ->
29
29
val action = (intent ?:return@registerLocalReceiver).action
In addition, it creates some extention methods for [AutoDispose](https://github.com/uber/AutoDispose) so that you can automatically dispose your rx stream more conveniently:
0 commit comments