# weskimber/florida_crud architecture

> Architecture diagram of the GitHub repository weskimber/florida_crud, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-11-15). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/weskimber/florida_crud
- Repository: https://github.com/weskimber/florida_crud

## Overview

The repository tree suggests an Android PowerBall CRUD app with a main screen, detail screen, list adapter, data model, and Retrofit-based REST layer. Application source and README content were not provided, so the relationships below are provisional and shown as dashed, with no evidence paths; the precise user workflow and remote API behavior cannot be confirmed.

Main entry points: [`app/src/main/java/com/example/ulouigene/florida_crud/MainActivity.java`](https://github.com/weskimber/florida_crud/blob/master/app/src/main/java/com/example/ulouigene/florida_crud/MainActivity.java) (Main screen), [`app/src/main/java/com/example/ulouigene/florida_crud/PowerBallDetail.java`](https://github.com/weskimber/florida_crud/blob/master/app/src/main/java/com/example/ulouigene/florida_crud/PowerBallDetail.java) (PowerBall detail), [`app/src/main/java/com/example/ulouigene/florida_crud/CustomAdapter.java`](https://github.com/weskimber/florida_crud/blob/master/app/src/main/java/com/example/ulouigene/florida_crud/CustomAdapter.java) (Entry adapter), [`app/src/main/java/com/example/ulouigene/florida_crud/RestClient.java`](https://github.com/weskimber/florida_crud/blob/master/app/src/main/java/com/example/ulouigene/florida_crud/RestClient.java) (REST client)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_screens["App screens"]
  node_main["Main screen<br/>[MainActivity.java]"]
  node_main_layout["Main layout<br/>[activity_main.xml]"]
  node_detail["PowerBall detail"]
  node_detail_layout["Detail layout"]
end

subgraph group_presentation["Presentation"]
  node_adapter["Entry adapter<br/>[CustomAdapter.java]"]
  node_entry_layout["Entry view"]
end

subgraph group_data["Data and REST"]
  node_model["PowerBall model<br/>[PowerBall.java]"]
  node_rest_client["REST client<br/>[RestClient.java]"]
  node_rest_service["REST service<br/>[RestService.java]"]
end

node_user(("User"))
node_remote_api{{"Remote API"}}

node_user -.->|"opens"| node_main
node_main -.->|"uses"| node_main_layout
node_main -.->|"displays entries"| node_adapter
node_adapter -.->|"renders"| node_entry_layout
node_adapter -.->|"presents"| node_model
node_main -.->|"opens detail"| node_detail
node_detail -.->|"uses"| node_detail_layout
node_detail -.->|"shows"| node_model
node_main -.->|"requests data"| node_rest_client
node_rest_client -.->|"uses"| node_rest_service
node_rest_service -.->|"calls"| node_remote_api

click node_main "https://github.com/weskimber/florida_crud/blob/master/app/src/main/java/com/example/ulouigene/florida_crud/MainActivity.java"
click node_main_layout "https://github.com/weskimber/florida_crud/blob/master/app/src/main/res/layout/activity_main.xml"
click node_detail "https://github.com/weskimber/florida_crud/blob/master/app/src/main/java/com/example/ulouigene/florida_crud/PowerBallDetail.java"
click node_detail_layout "https://github.com/weskimber/florida_crud/blob/master/app/src/main/res/layout/activity_powerball_detail.xml"
click node_adapter "https://github.com/weskimber/florida_crud/blob/master/app/src/main/java/com/example/ulouigene/florida_crud/CustomAdapter.java"
click node_entry_layout "https://github.com/weskimber/florida_crud/blob/master/app/src/main/res/layout/view_powerball_entry.xml"
click node_model "https://github.com/weskimber/florida_crud/blob/master/app/src/main/java/com/example/ulouigene/florida_crud/PowerBall.java"
click node_rest_client "https://github.com/weskimber/florida_crud/blob/master/app/src/main/java/com/example/ulouigene/florida_crud/RestClient.java"
click node_rest_service "https://github.com/weskimber/florida_crud/blob/master/app/src/main/java/com/example/ulouigene/florida_crud/RestService.java"

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_main,node_main_layout,node_detail,node_detail_layout,node_user toneBlue
class node_adapter,node_entry_layout toneAmber
class node_model,node_rest_client,node_rest_service,node_remote_api toneMint
```

## Components

### App screens

- [Main screen](https://github.com/weskimber/florida_crud/blob/master/app/src/main/java/com/example/ulouigene/florida_crud/MainActivity.java): `app/src/main/java/com/example/ulouigene/florida_crud/MainActivity.java`
- [Main layout](https://github.com/weskimber/florida_crud/blob/master/app/src/main/res/layout/activity_main.xml): `app/src/main/res/layout/activity_main.xml`
- [PowerBall detail](https://github.com/weskimber/florida_crud/blob/master/app/src/main/java/com/example/ulouigene/florida_crud/PowerBallDetail.java): `app/src/main/java/com/example/ulouigene/florida_crud/PowerBallDetail.java`
- [Detail layout](https://github.com/weskimber/florida_crud/blob/master/app/src/main/res/layout/activity_powerball_detail.xml): `app/src/main/res/layout/activity_powerball_detail.xml`

### Presentation

- [Entry adapter](https://github.com/weskimber/florida_crud/blob/master/app/src/main/java/com/example/ulouigene/florida_crud/CustomAdapter.java): `app/src/main/java/com/example/ulouigene/florida_crud/CustomAdapter.java`
- [Entry view](https://github.com/weskimber/florida_crud/blob/master/app/src/main/res/layout/view_powerball_entry.xml): `app/src/main/res/layout/view_powerball_entry.xml`

### Data and REST

- [PowerBall model](https://github.com/weskimber/florida_crud/blob/master/app/src/main/java/com/example/ulouigene/florida_crud/PowerBall.java): `app/src/main/java/com/example/ulouigene/florida_crud/PowerBall.java`
- [REST client](https://github.com/weskimber/florida_crud/blob/master/app/src/main/java/com/example/ulouigene/florida_crud/RestClient.java): `app/src/main/java/com/example/ulouigene/florida_crud/RestClient.java`
- [REST service](https://github.com/weskimber/florida_crud/blob/master/app/src/main/java/com/example/ulouigene/florida_crud/RestService.java): `app/src/main/java/com/example/ulouigene/florida_crud/RestService.java`

### Other components

- **User**
- **Remote API**

## Connections

- User → Main screen: opens
- Main screen → Main layout: uses
- Main screen → Entry adapter: displays entries
- Entry adapter → Entry view: renders
- Entry adapter → PowerBall model: presents
- Main screen → PowerBall detail: opens detail
- PowerBall detail → Detail layout: uses
- PowerBall detail → PowerBall model: shows
- Main screen → REST client: requests data
- REST client → REST service: uses
- REST service → Remote API: calls
