# 24211tt2979-cmd/doan_ltdd2 architecture

> Architecture diagram of the GitHub repository 24211tt2979-cmd/doan_ltdd2, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-09-25). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/24211tt2979-cmd/doan_ltdd2
- Repository: https://github.com/24211tt2979-cmd/doan_ltdd2

## Overview

This appears to be an Android personal-finance app centered on savings goals, deposits, and related tracking. The tree also shows login, profile/settings, history, category statistics, and notifications. Source excerpts contain only Gradle configuration, and there is no README, so screen navigation, persistence calls, and runtime wiring cannot be verified; the graph therefore maps evidenced components without speculative edges.

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_screens["App screens"]
  node_login["Login<br/>[LoginActivity.kt]"]
  node_main["Dashboard<br/>[MainActivity.kt]"]
  node_settings["Settings"]
  node_about["About<br/>[About.kt]"]
  node_notifications["Notifications"]
  node_notification_adapter["Notification list"]
end

subgraph group_savings["Savings tracking"]
  node_goals["Savings goals<br/>[SavingsGoal.kt]"]
  node_goal_adapter["Goal lists<br/>[GoalAdapter.kt]"]
  node_simple_goal_adapter["Compact goals"]
  node_deposits["Deposit records<br/>[DepositLog.kt]"]
end

subgraph group_insights["History and insights"]
  node_history["Deposit history<br/>[HistoryActivity.kt]"]
  node_history_adapter["History list<br/>[HistoryAdapter.kt]"]
  node_statistics["Statistics"]
  node_category_adapter["Category stats"]
  node_category["Categories<br/>[Category.kt]"]
end

subgraph group_data["Data layer"]
  node_notification_log["Notification records<br/>[NotificationLog.kt]"]
  node_user_model["User profile<br/>[User.kt]"]
  node_user_dao["User access<br/>[UserDAO.kt]"]
  node_savings_dao["Savings access<br/>[SavingsDAO.kt]"]
  node_category_dao["Category access<br/>[CategoryDAO.kt]"]
  node_notification_dao["Notification access<br/>[NotificationDAO.kt]"]
  node_database[("App database<br/>[AppDatabase.kt]")]
  node_date_converter["Date conversion<br/>[DateConverter.kt]"]
end

node_user(("App user"))

click node_login "https://github.com/24211tt2979-cmd/doan_ltdd2/blob/master/app/src/main/java/com/example/doan_ltdd/LoginActivity.kt"
click node_main "https://github.com/24211tt2979-cmd/doan_ltdd2/blob/master/app/src/main/java/com/example/doan_ltdd/MainActivity.kt"
click node_settings "https://github.com/24211tt2979-cmd/doan_ltdd2/blob/master/app/src/main/java/com/example/doan_ltdd/SettingsActivity.kt"
click node_about "https://github.com/24211tt2979-cmd/doan_ltdd2/blob/master/app/src/main/java/com/example/doan_ltdd/About.kt"
click node_goals "https://github.com/24211tt2979-cmd/doan_ltdd2/blob/master/app/src/main/java/com/example/doan_ltdd/SavingsGoal.kt"
click node_goal_adapter "https://github.com/24211tt2979-cmd/doan_ltdd2/blob/master/app/src/main/java/com/example/doan_ltdd/GoalAdapter.kt"
click node_simple_goal_adapter "https://github.com/24211tt2979-cmd/doan_ltdd2/blob/master/app/src/main/java/com/example/doan_ltdd/SimpleGoalAdapter.kt"
click node_deposits "https://github.com/24211tt2979-cmd/doan_ltdd2/blob/master/app/src/main/java/com/example/doan_ltdd/DepositLog.kt"
click node_history "https://github.com/24211tt2979-cmd/doan_ltdd2/blob/master/app/src/main/java/com/example/doan_ltdd/HistoryActivity.kt"
click node_history_adapter "https://github.com/24211tt2979-cmd/doan_ltdd2/blob/master/app/src/main/java/com/example/doan_ltdd/HistoryAdapter.kt"
click node_statistics "https://github.com/24211tt2979-cmd/doan_ltdd2/blob/master/app/src/main/java/com/example/doan_ltdd/StatisticsActivity.kt"
click node_category_adapter "https://github.com/24211tt2979-cmd/doan_ltdd2/blob/master/app/src/main/java/com/example/doan_ltdd/CategoryStatsAdapter.kt"
click node_category "https://github.com/24211tt2979-cmd/doan_ltdd2/blob/master/app/src/main/java/com/example/doan_ltdd/Category.kt"
click node_notifications "https://github.com/24211tt2979-cmd/doan_ltdd2/blob/master/app/src/main/java/com/example/doan_ltdd/NotificationActivity.kt"
click node_notification_log "https://github.com/24211tt2979-cmd/doan_ltdd2/blob/master/app/src/main/java/com/example/doan_ltdd/NotificationLog.kt"
click node_notification_adapter "https://github.com/24211tt2979-cmd/doan_ltdd2/blob/master/app/src/main/java/com/example/doan_ltdd/NotificationAdapter.kt"
click node_user_model "https://github.com/24211tt2979-cmd/doan_ltdd2/blob/master/app/src/main/java/com/example/doan_ltdd/User.kt"
click node_user_dao "https://github.com/24211tt2979-cmd/doan_ltdd2/blob/master/app/src/main/java/com/example/doan_ltdd/UserDAO.kt"
click node_savings_dao "https://github.com/24211tt2979-cmd/doan_ltdd2/blob/master/app/src/main/java/com/example/doan_ltdd/SavingsDAO.kt"
click node_category_dao "https://github.com/24211tt2979-cmd/doan_ltdd2/blob/master/app/src/main/java/com/example/doan_ltdd/CategoryDAO.kt"
click node_notification_dao "https://github.com/24211tt2979-cmd/doan_ltdd2/blob/master/app/src/main/java/com/example/doan_ltdd/NotificationDAO.kt"
click node_database "https://github.com/24211tt2979-cmd/doan_ltdd2/blob/master/app/src/main/java/com/example/doan_ltdd/AppDatabase.kt"
click node_date_converter "https://github.com/24211tt2979-cmd/doan_ltdd2/blob/master/app/src/main/java/com/example/doan_ltdd/DateConverter.kt"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_login,node_main,node_settings,node_about,node_notifications,node_notification_adapter,node_user toneBlue
class node_goals,node_goal_adapter,node_simple_goal_adapter,node_deposits toneAmber
class node_history,node_history_adapter,node_statistics,node_category_adapter,node_category toneMint
class node_notification_log,node_user_model,node_user_dao,node_savings_dao,node_category_dao,node_notification_dao,node_database,node_date_converter toneRose
```

## Components

### App screens

- [Login](https://github.com/24211tt2979-cmd/doan_ltdd2/blob/master/app/src/main/java/com/example/doan_ltdd/LoginActivity.kt): `app/src/main/java/com/example/doan_ltdd/LoginActivity.kt`
- [Dashboard](https://github.com/24211tt2979-cmd/doan_ltdd2/blob/master/app/src/main/java/com/example/doan_ltdd/MainActivity.kt): `app/src/main/java/com/example/doan_ltdd/MainActivity.kt`
- [Settings](https://github.com/24211tt2979-cmd/doan_ltdd2/blob/master/app/src/main/java/com/example/doan_ltdd/SettingsActivity.kt): `app/src/main/java/com/example/doan_ltdd/SettingsActivity.kt`
- [About](https://github.com/24211tt2979-cmd/doan_ltdd2/blob/master/app/src/main/java/com/example/doan_ltdd/About.kt): `app/src/main/java/com/example/doan_ltdd/About.kt`
- [Notifications](https://github.com/24211tt2979-cmd/doan_ltdd2/blob/master/app/src/main/java/com/example/doan_ltdd/NotificationActivity.kt): `app/src/main/java/com/example/doan_ltdd/NotificationActivity.kt`
- [Notification list](https://github.com/24211tt2979-cmd/doan_ltdd2/blob/master/app/src/main/java/com/example/doan_ltdd/NotificationAdapter.kt): `app/src/main/java/com/example/doan_ltdd/NotificationAdapter.kt`

### Savings tracking

- [Savings goals](https://github.com/24211tt2979-cmd/doan_ltdd2/blob/master/app/src/main/java/com/example/doan_ltdd/SavingsGoal.kt): `app/src/main/java/com/example/doan_ltdd/SavingsGoal.kt`
- [Goal lists](https://github.com/24211tt2979-cmd/doan_ltdd2/blob/master/app/src/main/java/com/example/doan_ltdd/GoalAdapter.kt): `app/src/main/java/com/example/doan_ltdd/GoalAdapter.kt`
- [Compact goals](https://github.com/24211tt2979-cmd/doan_ltdd2/blob/master/app/src/main/java/com/example/doan_ltdd/SimpleGoalAdapter.kt): `app/src/main/java/com/example/doan_ltdd/SimpleGoalAdapter.kt`
- [Deposit records](https://github.com/24211tt2979-cmd/doan_ltdd2/blob/master/app/src/main/java/com/example/doan_ltdd/DepositLog.kt): `app/src/main/java/com/example/doan_ltdd/DepositLog.kt`

### History and insights

- [Deposit history](https://github.com/24211tt2979-cmd/doan_ltdd2/blob/master/app/src/main/java/com/example/doan_ltdd/HistoryActivity.kt): `app/src/main/java/com/example/doan_ltdd/HistoryActivity.kt`
- [History list](https://github.com/24211tt2979-cmd/doan_ltdd2/blob/master/app/src/main/java/com/example/doan_ltdd/HistoryAdapter.kt): `app/src/main/java/com/example/doan_ltdd/HistoryAdapter.kt`
- [Statistics](https://github.com/24211tt2979-cmd/doan_ltdd2/blob/master/app/src/main/java/com/example/doan_ltdd/StatisticsActivity.kt): `app/src/main/java/com/example/doan_ltdd/StatisticsActivity.kt`
- [Category stats](https://github.com/24211tt2979-cmd/doan_ltdd2/blob/master/app/src/main/java/com/example/doan_ltdd/CategoryStatsAdapter.kt): `app/src/main/java/com/example/doan_ltdd/CategoryStatsAdapter.kt`
- [Categories](https://github.com/24211tt2979-cmd/doan_ltdd2/blob/master/app/src/main/java/com/example/doan_ltdd/Category.kt): `app/src/main/java/com/example/doan_ltdd/Category.kt`

### Data layer

- [Notification records](https://github.com/24211tt2979-cmd/doan_ltdd2/blob/master/app/src/main/java/com/example/doan_ltdd/NotificationLog.kt): `app/src/main/java/com/example/doan_ltdd/NotificationLog.kt`
- [User profile](https://github.com/24211tt2979-cmd/doan_ltdd2/blob/master/app/src/main/java/com/example/doan_ltdd/User.kt): `app/src/main/java/com/example/doan_ltdd/User.kt`
- [User access](https://github.com/24211tt2979-cmd/doan_ltdd2/blob/master/app/src/main/java/com/example/doan_ltdd/UserDAO.kt): `app/src/main/java/com/example/doan_ltdd/UserDAO.kt`
- [Savings access](https://github.com/24211tt2979-cmd/doan_ltdd2/blob/master/app/src/main/java/com/example/doan_ltdd/SavingsDAO.kt): `app/src/main/java/com/example/doan_ltdd/SavingsDAO.kt`
- [Category access](https://github.com/24211tt2979-cmd/doan_ltdd2/blob/master/app/src/main/java/com/example/doan_ltdd/CategoryDAO.kt): `app/src/main/java/com/example/doan_ltdd/CategoryDAO.kt`
- [Notification access](https://github.com/24211tt2979-cmd/doan_ltdd2/blob/master/app/src/main/java/com/example/doan_ltdd/NotificationDAO.kt): `app/src/main/java/com/example/doan_ltdd/NotificationDAO.kt`
- [App database](https://github.com/24211tt2979-cmd/doan_ltdd2/blob/master/app/src/main/java/com/example/doan_ltdd/AppDatabase.kt): `app/src/main/java/com/example/doan_ltdd/AppDatabase.kt`
- [Date conversion](https://github.com/24211tt2979-cmd/doan_ltdd2/blob/master/app/src/main/java/com/example/doan_ltdd/DateConverter.kt): `app/src/main/java/com/example/doan_ltdd/DateConverter.kt`

### Other components

- **App user**
