I want to fetch an user object from Database and have a single instance of the same in whole application. What would be best and efficient way to first fetch from database on app initialisation and make it available for whole class.
I am using dagger in project, if that helps. I already have DatabaseManager(fetch user object from database) injected in AppModule