Create kotlin android project with one line of command.

Overview

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.

You might also like...
A native android app that shows how much calories one must consume based on their profile
A native android app that shows how much calories one must consume based on their profile

Healtify is a native android app which allows the user to track the amout of Calories they are consuming. It not only tracks the calories but also shows how much of fat, protein and carbs they have consumed and how much they should be doing.

One-stop-shop for Social Network integrations

Roguin One stop shop for Social Network integrations Use the same code for Google, Facebook and Twitter What is Roguin Social Network integrations can

Clean MVVM with eliminating the usage of context from view models by introducing hilt for DI and sealed classes for displaying Errors in views using shared flows (one time event), and Stateflow for data

Clean ViewModel with Sealed Classes Following are the purposes of this repo Showing how you can remove the need of context in ViewModels. I. By using

WorkManager ,One time,Sequential Execution, Periodic time Execution

WokManagerSample WorkManager ,One time,Sequential Execution, Periodic time Execu

A pair of applications provide a direct means of integrating with one another via application programming interfaces (APIs)

What is a native integration? It's when a pair of applications provide a direct means of integrating with one another via application programming interfaces (APIs). Once integrated, data can flow between the apps and become more readily available to your employees.

Mars is an all-in-one plugin for PGM servers

Mars Mars is an all-in-one plugin for PGM servers. Using Mars Contributing to Mars Why? Mars was built to handle everything that PGM isn't supposed to

Skeleton project for show the architecture of Android project using MVVM, Clean Architecture and Kotlin coroutine Flow
Skeleton project for show the architecture of Android project using MVVM, Clean Architecture and Kotlin coroutine Flow

ClearScoreDemo Skeleton project for showing the architecture of Android project using MVVM, Clean architecture and Kotlin coroutine Flow App Architect

A Kotlin Script which Auto-Create And Assign Gitlab MergeRequests

A Kotlin Script which create merge request automatically and assign it to a developer for review based on a startegy(Currently Queue).

A react-like kotlin library to create an inventory ui easily in paper plugins
A react-like kotlin library to create an inventory ui easily in paper plugins

A react-like kotlin library to create an inventory ui easily in paper plugins

Comments
  • 关于MVP

    关于MVP

    冒昧问一句看了项目中的MVP的实现方式是采用Activity作为View,Fragment作为Presenter,对此有几点疑问,首先就是关于性能上的,对个presenter的话就会存在多个Fragment,是否会对app运行时的性能有所影响,第二个是考虑到浮复杂页面的情况,Activity本身会持有Fragemnt作为视图,那是否仍要采用这种方式在Fragment中再构建一个Fragment作为Presenter?不知道有没有相关的介绍文章讲解关于使用Fragment作为presenter的,之前采用的都是普通的方式,使用lifecycle绑定的生命周期,如果在大型项目中是否会有额外的影响?

    opened by alittlecup 2
  • Gradle build failed

    Gradle build failed

    Error:Execution failed for task ':data:processDebugResources'. java.io.FileNotFoundException: /Users/nekocode/AndroidStudioProjects/BaseFramework/data/build/intermediates/bundles/debug/R.txt (No such file or directory)

    opened by nekocode 1
  • 语法错误

    语法错误

    已经安装python,终端执行: python -c "$(curl -fsSL https://raw.githubusercontent.com/nekocode/Kotlin-Android-Template/master/project_generator.py)" 结果: image

    opened by MarsToken 0
  • Add a Gitter chat badge to README.md

    Add a Gitter chat badge to README.md

    nekocode/kotlin_android_base_framework now has a Chat Room on Gitter

    @nekocode has just created a chat room. You can visit it here: https://gitter.im/nekocode/kotlin_android_base_framework.

    This pull-request adds this badge to your README.md:

    Gitter

    If my aim is a little off, please let me know.

    Happy chatting.

    PS: Click here if you would prefer not to receive automatic pull-requests from Gitter in future.

    opened by gitter-badger 0
Owner
nekocode
I'm a full-stack engineer and specialize in frontend (android/flutter/web) development.
nekocode
Utility - The cross-platform native Kotlin command line tool template

Utility The cross-platform native Kotlin command line tool template. Usage Make

null 0 Jan 3, 2022
kinstall is an easy way to install gradle-based command-line kotlin projects that use the application plugin.

kinstall kinstall is an easy way to install gradle-based command-line kotlin projects that use the application plugin. use First, install kinstall its

david kilmer 0 Apr 24, 2022
Run Minecraft on the command line

HeadlessForge While headless Minecraft Clients aren't anything new, they come with a drawback. The Minecraft API is missing and you need to add all fu

null 28 Sep 10, 2022
A fast-prototyping command line system

Kotlin-er CLI A different take on making command line programs, emphasizing development speed over customization Status Auto-deployed to Maven Central

Lightning Kite 22 Jan 22, 2022
Clay is an Android library project that provides image trimming which is originally an UI component of LINE Creators Studio

Clay Clay is an Android library project that provides image trimming. Fully written in Kotlin, Clay is originally a UI component of LINE Creators Stud

LINE 120 Sep 2, 2022
Simple cron command runner for Bukkit 1.17+

Cron Runner Description / 설명 Simple cron command runner for Bukkit 1.17+ Bukkit 1.17 이상을 위한 간단한 cron 명령어 실행기 입니다. Configuration Guide (config.yml) deb

Patrick 3 Sep 24, 2021
Main goal of this project is to find the best route from one country to another

Route-service Main goal of this project is to find the best route from one country to another. Data is presented as json format. I've implemented A* p

Teyyihan Aksu 4 Aug 2, 2022
The Klutter CLI tool gives access to all tasks to create and manage a Klutter project.

Klutter CLI The Klutter CLI tool gives access to all tasks to create and manage a Klutter project. Gettings started Download the tool. Unzip the file.

Gillian 2 Mar 31, 2022
app conversor de moedas/cambio com Kotlin, no Bootcamp Carrefour Android Developer na plataforma da Digital Innovation One

Status do Projeto: ✔️ concluído a proposta de criação um app conversor de moedas/cambio com Kotlin, no Bootcamp Carrefour Android Developer na plataforma da Digital Innovation One

Luiz Correa 4 Oct 12, 2021
Create an application with Kotlin/JVM and Kotlin/JS, and explore features around code sharing, serialization, server- and client

Practical Kotlin Multiplatform on the Web 본 저장소는 코틀린 멀티플랫폼 기반 웹 프로그래밍 워크숍(강좌)을 위해 작성된 템플릿 프로젝트가 있는 곳입니다. 워크숍 과정에서 코틀린 멀티플랫폼을 기반으로 프론트엔드(front-end)는 Ko

SpringRunner 7 Sep 20, 2022