Creation of ViewModels with parameters (@Assisted injection) is quite complicated now and involves code that can be dropped when using hiltViewModel().
Short description
This PR uses hiltViewModel() for creating such models for the screens that already have the new Screen/Model architecture and require parameters.
As soon as we switch to NavGraph, we'd have to use hiltViewModel() anyway.
Checklist
[x] The PR has a proper title, description and label.
Purpose
Creation of ViewModels with parameters (
@Assisted
injection) is quite complicated now and involves code that can be dropped when usinghiltViewModel()
.Short description
This PR uses
hiltViewModel()
for creating such models for the screens that already have the new Screen/Model architecture and require parameters.As soon as we switch to NavGraph, we'd have to use
hiltViewModel()
anyway.Checklist