ViewModelGoodPractice icon indicating copy to clipboard operation
ViewModelGoodPractice copied to clipboard

Creating Pref object without hilt

Open rishujam opened this issue 1 year ago • 0 comments

@PatilShreyas I have a old project where I am not using hilt. To create viewModel I am using ViewModelFactory, as to create object of DefaultSessionManager we need context so should I pass context in the viewModel factory? Or is there any other way

rishujam avatar Feb 12 '24 19:02 rishujam