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
+14-4Lines changed: 14 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,8 @@
1
1
# README
2
2
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:
3
+
Create android kotlin app from template.
4
+
5
+
This 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:
Sending a network request in this project is also simple:
25
27
26
28
```kotlin
27
29
gankIoService().picApi.getMeiziPics(1, 0)
28
30
// ...
29
31
```
30
32
31
-
And it splits network operations into a submodule. And make tests for them. Such as:
33
+
And the network operations are separated into a submodule. Some tests are created for them:
32
34
33
35
```kotlin
34
36
classGankIoServiceTest {
@@ -54,4 +56,12 @@ In addition, it creates some extention methods for [AutoDispose](https://github.
54
56
.subscribe()
55
57
```
56
58
57
-
For more details, you can look at the code directly.
59
+
For more details, you can look at the code of template directly.
60
+
61
+
## Creating
62
+
63
+
Make sure you have installed Python 3 and [requests](https://pypi.org/project/requests/) library before proceeding. And then pate the following command at a terminal, replace the `PROJECT_NAME` and `APP_PACKAGE_NAME` and execute it:
0 commit comments