Skip to content

PLAN | Data Layer and Dagger DI #37

Description

@AlexisTercero55

Implementation plan

Current State: Manual Dependency Management

While the architecture has been modularized, the project currently utilizes Manual Dependency Management.

  • Service Locators & Singletons: Components like SessionManager are managed as singletons.
  • Manual Instantiation: ViewModels currently instantiate their own dependencies (e.g., LogoutUseCase(SessionManager.getInstance())).
  • Roadmap: This sets the stage for the next phase: migrating to a formal DI (Dagger) to further decouple the ViewModel from its implementation details.
    From Domain Layer & Use Case Implementation #31

Rho.Studio® - Engineering Department - Contact alexis.tercero@rho.studio

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Data layerRepository and data sources

Projects

Relationships

None yet

Development

No branches or pull requests

Issue actions