You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I have small doubt on using android FirebaseEventListener inside my project. I don't know where to put it inside MVP architecture, But am sure it is a kind of database Interactor, that get data from firebase db. What I planned to do is creating another class same like preference,database,api reference is enough to satisfy the firebase request coming from the view. Is it ok, if not, can you tell me what kind of class(singleton/not) i have to create and where to put that class.
The text was updated successfully, but these errors were encountered:
anbarasu-seven
changed the title
can you tell me where to put FirebaseEventListener inside this repository?
can you tell me where to put FirebaseEventListener inside this MVP project?
May 8, 2018
Thanks, is that the way or there is any other way for doing this, because i have used some github android project they also used the same way you mentioned above.
Hi, I have small doubt on using android FirebaseEventListener inside my project. I don't know where to put it inside MVP architecture, But am sure it is a kind of database Interactor, that get data from firebase db. What I planned to do is creating another class same like preference,database,api reference is enough to satisfy the firebase request coming from the view. Is it ok, if not, can you tell me what kind of class(singleton/not) i have to create and where to put that class.
The text was updated successfully, but these errors were encountered: