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
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
# README
2
2
3
-
This project shows how to build an android application with kotlin and some useful libraries. It 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:
3
+
This project shows how to build an android application with kotlin and some other useful libraries. It 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:
It also imports the [Retrofit](https://github.com/square/retrofit) library to make network requests:
24
+
Sending a network request is also simple:
25
25
26
26
```kotlin
27
27
gankIoService().picApi.getMeiziPics(1, 0)
28
28
// ...
29
29
```
30
30
31
-
And it splits models' definition, file and network operations and other classes unrelated to ui into a submodule. And make them easier to test. Such as:
31
+
And it splits network operations into a submodule. And make tests for them. Such as:
32
32
33
33
```kotlin
34
34
classGankIoServiceTest {
@@ -46,7 +46,7 @@ class GankIoServiceTest {
46
46
}
47
47
```
48
48
49
-
It also use language sugars to make [AutoDispose](https://github.com/uber/AutoDispose)'s usage more convenient:
49
+
In addition, it creates some extention methods for [AutoDispose](https://github.com/uber/AutoDispose) so that you can auto dispose your rx stream more conveniently:
0 commit comments