it doesn't seem right to do the db query in the vi...
# android
r
it doesn't seem right to do the db query in the view
a
Normally you should move all the logic to the presenter part and just use the view to show data and execute actions(like click a button)
for this case move the "Firebase.firestore" logic to the presenter and leave the setup of the recyclerview in the View
r
I know that I should move all the logic in presenter..
should I return the options refrence from presenter in order to use for the adapter?
a
yes
r
thanks bro