Skip to content

Commit 1c3dd6c

Browse files
authored
Update README.md
1 parent e6d4ccb commit 1c3dd6c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# README
22

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:
44

55
```kotlin
66
// Goto a new activity
@@ -21,14 +21,14 @@ registerLocalReceiver({ _, intent ->
2121
}, "ACTION_XXX", "ACTION_XXX2")
2222
```
2323

24-
It also imports the [Retrofit](https://github.com/square/retrofit) library to make network requests:
24+
Sending a network request is also simple:
2525

2626
```kotlin
2727
gankIoService().picApi.getMeiziPics(1, 0)
2828
// ...
2929
```
3030

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:
3232

3333
```kotlin
3434
class GankIoServiceTest {
@@ -46,7 +46,7 @@ class GankIoServiceTest {
4646
}
4747
```
4848

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:
5050

5151
```kotlin
5252
// ... Rx stream

0 commit comments

Comments
 (0)