Skip to content

mariommartins/sseclientflow

Repository files navigation

SSEClientFlow

Start of Event List End of Event List

Technologies

This project was made in Kotlin using the following libs:

  • Hilt
  • OkHttp_SSE
  • Coroutines Flow
  • Compose
  • Gson

Functionality

This is a single-activity app that opens a SSE connection to a test Server and updates the Composable UI in real-time

Architecture Notes

  • This was built to be maintained for a while.
  • This is a multi module project, focused on the Clean Architecture layers, which are structured as follows:
  • Domain is divided in two modules, impl and public. Where the impl has the final classes and the public has the exposed abstractions.
  • The architecture used in the presentation layer was MVVM.
  • There are some DesignPatterns being used inside the layers of the system, as UseCases, DataSources & Repositories.
  • The code design and style was intended to be consistent and reasonable.

More Details

  • This was used as the sample project for a droidcon 2023 talk that can be checked at this link
  • There is a published article on the Medium platform discussing the theme of this Sample project at this link
  • The Api used for testing in this implementation was found publicly in this repository

Please contact me if you have any questions!
Mário A. M. Martins
linkedin.com/in/mario-augusto/
h2mario@gmail.com

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages