Skip to content

A simple application built on MVVM Architecture, Coroutines, Retrofit, Room, dependency injection, etc.

Notifications You must be signed in to change notification settings

tanimul/Android-Template-Kotlin

Repository files navigation

Android-Template-Kotlin

A modern Android application template built on MVVM Architecture, featuring Coroutines, Retrofit, Room, Hilt, and more. This template is designed to save time by setting up a well-structured project with the latest best practices in just a few seconds.

How to use

1. Clone the Repository

Just clone it and change the project information to get the most common best practice design.

git clone https://github.com/tanimul/A ndroid-Template-Kotlin

Or simply Use this template use the button below to create a new repository from this template.

2. Update Project Information

  • Change App ID in build.gradle.kts
  • Update AndroidManifest.xml (app name, permissions, etc.)
  • Modify strings.xml for custom app details

3. Build & Run

Open the project in Android Studio, sync dependencies, and run the app!

Why Use This Template?

  • Pre-configured MVVM Architecture with Repository Pattern
  • Latest Android development tools & libraries
  • Reduces boilerplate code for faster project setup
  • Clean and scalable project structure

Features

  • 100% Kotlin – Modern & concise coding
  • Base Activity & Fragment – For consistent architecture
  • MVVM + Repository Pattern – Clean separation of concerns
  • Local & Remote Data Source – RoomDB + Retrofit integration
  • State Management – LiveData & Flow
  • Efficient Image Loading – Glide integration
  • DiffUtil for RecyclerView – Optimized UI updates
  • Dependency Injection – Dagger Hilt setup
  • Pagination Support – Implemented using Paging 3
  • SharedPreferences & DataStore – Persistent storage solutions
  • Timber Logging – For better debugging

Libraries & Tools Used

  • Coroutines – Asynchronous programming
  • Dagger Hilt – Dependency Injection
  • ViewModel – Lifecycle-aware UI logic
  • Flow – Reactive data handling
  • Data Binding – Bind UI elements efficiently
  • Retrofit – Network calls made simple
  • RoomDB – Local database with ease
  • Glide – Image loading library
  • DiffUtil – Optimized RecyclerView updates
  • SharedPreferences & DataStore – Data persistence
  • Paging 3 – Efficient pagination
  • Timber – Advanced logging

If this tamplate helps you in anyway, show your love ❤️ by putting a ⭐ on this project ✌️

Contributing to Android-Template-Kotlin

All pull requests are welcome, make sure to follow the contribution guidelines when you submit pull request.

Releases

No releases published

Packages

No packages published

Languages