-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: Migrated from Hilt to Koin
This commit replaces Hilt with Koin for dependency injection throughout the project. The following changes were made: - Removed Hilt dependencies and plugins from Gradle configuration. - Added Koin dependencies and plugins to Gradle configuration. - Created Koin modules to define and provide dependencies. - Updated classes to use Koin for injecting dependencies. - Removed Hilt annotations and replaced them with Koin equivalents. - Updated MainActivity to use Koin for injecting ConnectionHandler. - Updated Navigation to use koinViewModel for retrieving ViewModels. - Updated MediaplayerService to use inject for retrieving dependencies. - Updated ViewModels to extend KoinComponent and inject dependencies. - Updated other classes to use Koin for injecting dependencies. - Updated MediaplayerModule to use Koin modules for providing dependencies. - Updated SpotifyModule to use Koin modules for providing dependencies. - Updated MediaStoreViewModel to use KoinComponent and inject dependencies. - Updated Spotify data classes to use KoinComponent and inject dependencies. - Updated Spotify remote service to use KoinComponent and inject dependencies. - Updated MediaServiceHandler to use KoinComponent and inject dependencies. - Updated MediaLibrarySessionCallback to use KoinComponent and inject dependencies. - Updated MediaNotificationManager to use KoinComponent. - Updated MetadataEditorVM to use KoinComponent and inject dependencies. - Updated MetadataBsVM to use KoinComponent and inject dependencies.
- Loading branch information
Showing
32 changed files
with
274 additions
and
305 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.