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
+5-35Lines changed: 5 additions & 35 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -15,40 +15,10 @@ APP_PACKAGE_NAME
15
15
16
16
## What is included
17
17
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:
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:
47
19
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
53
23
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