Skip to content

it's an android app using jetcompose to get data from api, caching it

Notifications You must be signed in to change notification settings

hamza94max/Arlib

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Arlib APP

it's an android app using jetcompose to get data from api, caching it

Architecture

The architecture of this application relies and complies with the following points below:

  • Clean Architecture,: into 3 layers ui, data, domain
  • Pattern Model-View-ViewModel (MVVM) which facilitates a separation of development of the graphical user interface.
  • Android architecture components which help to keep the application robust, testable, and maintainable.

Capture

ScreenShots

Login Screen Home Screen Details Screen

Languages and Tools

  • Kotlin - official programming language for Android development .
  • JetCompose - modern toolkit for building native UI. .
  • Hilt - dependency injection library .
  • Retrofit A type-safe HTTP client for Android
  • Coroutines - for asynchronous programming .
  • Android Architecture Components - Collection of libraries that help you design robust, testable, and maintainable apps.
    • ViewModel - Stores UI-related data that isn't destroyed on UI changes.
    • Room DataBase - Access your app's SQLite database with in-app objects and compile-time checks.

Unit Testing

Api

The base URL ==> https://run.mocky.io/v3/ with endPoint 5aef18d7-961c-4327-8eb6-102d51287f30

The response

{
    "drugs": [{
            "name": "aspirin",
            "dose": "1 tablet",
            "strength": "500 mg"
        },
        {
            "name": "ibuprofen",
            "dose": "1 tablet",
            "strength": "200 mg"
        },
        {
            "name": "paracetamol",
            "dose": "1 tablet",
            "strength": "500 mg"
        },
        {
            "name": "omeprazole",
            "dose": "1 capsule",
            "strength": "20 mg"
        }
    ]
}

About

it's an android app using jetcompose to get data from api, caching it

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages