ВДOr you can just inject SharedPreferences if this logic is not going to be reused.Comment·Article·Sep 20, 2021·🙅♂️Don't let ViewModel know about framework level dependencies