Alkaa (begin, start in Finnish) is a to-do application project to study the latest components, architecture and tools for Android development. The project evolved a lot since the beginning is available on Google Play and App Store! ❤️
The current version of Alkaa was completely migrate to Kotlin and Compose Multiplatform!
One of the main goals of Alkaa is too use all the latest libraries and tools available.
- Application entirely written in Kotlin
- UI developed in Compose Multiplatform
- UI Tests with Compose Multiplatform UI Testing
- Following the Material You guidelines and dynamic color (Android only)
- Asynchronous processing using Coroutines
- Dynamic delivery for the Task Tracker feature
- Widgets using Jetpack Glance
- Dependency injection with Koin
- Database using SQLDelight
For more dependencies used in project, please access the Dependency File
If you want to check the previous version of Alkaa, please take a look at the latest V1 or V2 releases.
Alkaa architecture is strongly based on the Hexagonal Architecture by Alistair Cockburn. The application also relies heavily in modularization for better separation of concerns and encapsulation.
Let's take a look in each major module of the application:
- app and ios-app - The platform-specific app module. It contains all the initialization logic for each platform.
- features - The module/folder containing all the features (visual or not) from the application
- domain - The modules containing the most important part of the application: the business logic. This module depends only on itself and all interaction it does is via dependency inversion.
- data - The module containing the data (local, remote, light etc) from the app.
- libraries - The module with useful small libraries for the project, such as design system,
- navigation, test etc.
This type of architecture protects the most important modules in the app. To achieve this, all the dependency points to the center, and the modules are organized in a way that the more the module is in the center, more important it is.
To better represents the idea behind the modules, here is a architecture image representing the flow of dependency:
Copyright 2018 Igor Escodro
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.