create-android-kotlin-app

用一行命令创建android kotlin应用程序。「Create android kotlin app with one line of command.」

Github星跟踪图

README

This is an android application template project built with kotlin language and some useful libraries. It provides a creator script to quickly create an project from template.

Creating project

Make sure you have installed Python 3 and requests library before proceeding. And then paste the following command at a terminal, replace the PROJECT_NAME and APP_PACKAGE_NAME and execute it:

python3 -c \
"$(curl -fsSL https://raw.githubusercontent.com/nekocode/create-android-kotlin-app/master/create-android-kotlin-app.py)" \
PROJECT_NAME \
APP_PACKAGE_NAME

What is included

This template project includes some of the latest features in Android development:

  • Uses kotlin completely (includes gradle build scripts)
  • Uses AndroidX & Android Architecture Components (includes Navigation, ViewModel, LiveData)
  • Uses some powerful generic libraries like RxKotlin, Dagger2, etc
  • Includes some useful features & extensions:
    • Provides convenient way to inject dependencies to Activity, Fragment & ViewModel
    • Provides extension methods autoDisposable() for auto disposing rx streams in Activity, Fragment & ViewModel

For more details, you can check the source code directly.

主要指标

概览
名称与所有者nekocode/create-android-kotlin-app
主编程语言Kotlin
编程语言Kotlin (语言数: 2)
平台
许可证Apache License 2.0
所有者活动
创建于2015-08-29 02:28:07
推送于2021-02-05 14:00:56
最后一次提交2021-02-05 22:00:14
发布数6
最新版本名称4.0 (发布于 )
第一版名称2.0 (发布于 )
用户参与
星数1.6k
关注者数72
派生数210
提交数49
已启用问题?
问题数14
打开的问题数0
拉请求数8
打开的拉请求数2
关闭的拉请求数2
项目设置
已启用Wiki?
已存档?
是复刻?
已锁定?
是镜像?
是私有?