Skip to content

nekocode/create-android-kotlin-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

7f7db5e · Feb 5, 2021

History

49 Commits
Feb 5, 2021
Feb 5, 2021
Feb 5, 2021
Jul 26, 2018
Jul 26, 2018
Aug 7, 2019
Feb 5, 2021
Feb 5, 2021
May 29, 2019
Jul 25, 2018
Jul 25, 2018
May 27, 2019

Repository files navigation

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.

About

Create kotlin android project with one line of command.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published