Android app starter template
The goal of this Template is to be our starting point for new projects, following the best development practices. It’s our interpretation and adaptation of the official architecture guidelines provided by Google. And it’s inspired by Google’s NowInAndroid.
AndroidApp (for UI logic, with MVVM)
io.bloco.template
androidApp/build.gradle
, change the applicationId to the new app packageandroidApp/build.gradle
, update the dependencies Android Studio suggestsstring.xml
, set your application nameIf you run the Project inside the NewProjectCI all the above steps are done by you automatically, you can run the project using Android Studio then Opening the Main.kt file and press “Run MainKt”. You will be prompted about a new package name and app name
Theme.kt
& Color.kt
set your application style./gradlew dependencyUpdates
and check for dependenciesAnd you’re ready to start working on your new app.
.github/workflows
for lint check, unit testing and dependency checks. You can easily take this project worflow and repurpose it with a few path changes, you can also find a commented example in test.yml for Instrumentation Testing and CodeCoverage that we advice to keep a clean project, you will however need to replace the secret keys with your own.