dynamite8/resources-android-dev

Move Firebase cloud data import from UI to Repository Class

Closed this issue · 2 comments

JaeW commented
Move Firebase cloud data import from UI to Repository Class
JaeW commented

@dynamite8 your PR re Firebase integration has been approved.

Here is a repo using MVVM architecture which pulls Firebase data into a ViewModel as it does not have a repository, but the concept is the same.

https://github.com/saksham24/Android-Firebase-Mvp-Mvc-Mvvm-chat/blob/master/Chatmvvm%20-%20Java/app/src/main/java/nosql/anew/chatmvvm/viewModels/ChatViewModel.java#L34

JaeW commented

duplicate issue