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?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?