--

ProfileDataSource class handles data, it doesn't necessarily have to be a direct database access class, by utilizing dependency injection and ensuring that the same instance of the ProfileDataSource class is injected into both ViewModels

--

--

Betül Necanlı
Betül Necanlı

Written by Betül Necanlı

Kotlin, Android Programming, Data Structures&Algorithms, Math. https://www.youtube.com/@betulnecanli

No responses yet