DodoForMastodon icon indicating copy to clipboard operation
DodoForMastodon copied to clipboard

Initial Koin setup across modules

Open crocsandcoffee opened this issue 1 year ago โ€ข 4 comments

๐Ÿ“‘ What does this PR do?

  • Renamed MastodonApiImpl to MastodonApiKtor and marked internal. Added Koin bean to provide the interface MastodonApi which encapsulates implementation.
  • Marked AuthenticationRepositoryImpl as internal. Added Koin bean to provide the interface AuthenticationRepository which encapsulates implementation.
  • Created network and repository koin modules
  • Created new di module for shared DI as well as entry point for resolving all DI modules cross platform and cross project

โœ… Checklist

  • [ ] My pull request adheres to the code style of this project
  • [ ] My code requires changes to the documentation
  • [ ] I have updated the documentation as required
  • [ ] All the tests have passed

๐Ÿงช How can this PR been tested?

๐Ÿงพ Tasks Remaining: (List of tasks remaining to be implemented)

  • What is remaining to be implemented in this PR? Mention a list of them

๐Ÿ–ผ๏ธ Screenshots (if applicable):

crocsandcoffee avatar Nov 21 '22 06:11 crocsandcoffee