Skip to content

Commit 09cdca7

Browse files
authored
Update README.md
1 parent 2185147 commit 09cdca7

File tree

1 file changed

+5
-35
lines changed

1 file changed

+5
-35
lines changed

README.md

Lines changed: 5 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -15,40 +15,10 @@ APP_PACKAGE_NAME
1515

1616
## What is included
1717

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-
20-
```kotlin
21-
// Navigate to a new activity
22-
activityRouter.gotoXxxActivity(this)
23-
24-
// Broadcast action
25-
broadcastRouter.tellSomeSth(this)
26-
27-
// Register broadcast receiver
28-
registerLocalReceiver(BroadcastRouter.Action1, BroadcastRouter.Action2) { _, intent ->
29-
val action = (intent ?: return@registerLocalReceiver).action
30-
?: return@registerLocalReceiver
31-
when (action) {
32-
BroadcastRouter.Action1 -> {
33-
// Do sth
34-
}
35-
}
36-
}
37-
```
38-
39-
Sending a network request in this project is also simple:
40-
41-
```kotlin
42-
gankIoService.picApi.getMeiziPics(1, 0)
43-
// ...
44-
```
45-
46-
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:
18+
This template project includes some of the latest features in Android development:
4719

48-
```kotlin
49-
// ... Rx stream
50-
.autoDispose()
51-
.subscribe()
52-
```
20+
- Used kotlin completely (includes the gradle build scripts)
21+
- Used AndroidX & Navigation
22+
- Some simple but useful extensions
5323

54-
For more details, you can look at the code of template directly.
24+
For more details, you can check the code directly.

0 commit comments

Comments
 (0)