Skip to content

Phong-Kaster/Jetpack-Compose

Repository files navigation

Jetpack Compose
A structure that is built for Android applications with Jetpack Compose

This is my Android sample app that is built with 100 % Kotlin and Jetpack Compose components. I writes this repository because this is my knowledge & experience from realities that i do everyday. In additional, inspired from Android Architecture Samples, this application is a general combination from many application that i have written. They always have splash screen, home screen, setting screen, menu bottom bar, send notifications daily,... and so forth.

In my repository, you will find:

• User Interface built with Jetpack Compose

• A single-activity architecture, using Navigation Component

• A presentation layer that contains a Compose screen (View) and a ViewModel per screen (or feature)

• Reactive UIs using Flow and Kotlin Coroutines for asynchronous operations

• Dependency injection with Hilt

PACKAGE STRUCTURE

There are many packages in my repository (as any casual application ✌️😎). You can see similiar

configuration

core

data

datastore

injection

network

notification

repository

ui

util

Jetpack Application

Main Activity