The AndroidBase project provides an Android app project template that setups for Gradle Kotlin DSL, it also provides some base classes or extensions to accerate your android development.
If you'd like to see how the simple Gradle Kotlin DSL project works (i.e. a new android app project just created by Android Studio and use Gradle Kotlin DSL), you can checkout to the branch gradle-kotlin-dsl to take a look.
If you'd like to see how the base module works or contribute to this project, you can checkout to the branch library.
Setup for Template Project
Just click on button to create a new repo starting from this template. Or you can clone this project by git clone [email protected]:enginebai/AndroidBase.git .
Change your project name in settings.gradle.kts.
Set your application ID in Versions.kt
Set the package name in AndroidManifest.xml file of :app module .
Select com.enginebai.project directory in "Project" tool window and rename package for your app.
Specify your retrofit base URL in NetworkModule.kt file.
Start to design your main layout xml file fragment_main.xml and fragment class.
Specify your MainFragment.kt name in navigation graph xml file.
That's all. Start your app development journey now
请发表评论