sidsharma2002 / PracticeApp

A "must-have a look" project for newcomers in android.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SETUP MVVM SKELETON

sidsharma2002 opened this issue · comments

setup MVVM architecture with empty classes

@sidsharma2002 , Can you please elaborate this.

Repository classes and room database with the use of hilt will complete the MVVM architecture

If I introduce the concept of repository with Dagger Hilt, this needs to be modify the whole app, and make changes in most of the files.

not in every class. setup hilt create an empty repository inject it into ViewModelA.kt. that's it. Change only ViewModelA, do you want me to assign you this issue?

yes it is

Thanks for assigning this issue to me. I have created a new branch for this implementation named "issue_1_setup_mvvm", is it ok or should I make changes in the master branch?

No you have done correctly. It is how a pr is expected to be made just make sure you create one pr pr commit. Meaning your pr should only contain one commit