this article may help
https://b-chandrasaimohan.medium.com/mvvm-with-room-db-and-retrofit-7d822ec9f71a