Skip to content

[Cleanup] Removing the un-used viewModelProviderFactoryOf from the jetcaster project. #1528

Closed
@iamjosephmj

Description

@iamjosephmj

I'm not sure if clean-up PRs are accepted, as I only see templates for bug and feature requests. If this function is kept for a reason, I will close this issue.

Sample App

Jetcaster

What Happened?

Currently, the Jetcaster app uses Hilt for DI, which handles view model creation with the Hilt annotations. This makes the com.example.jetcaster.util.viewModelProviderFactoryOf() unused, as view model creation is already managed by simply using hiltViewModel().

Proposed solution

The proposal is to remove com.example.jetcaster.util.ViewModel.kt, as it is no longer needed for view model creation.

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions