<Use realm across all threads> I have DBManager cl...
# stackoverflow
u
Use realm across all threads I have DBManager class for CRUD operations and I want to use it across application, I know that Realm objects can only be accessed on the thread they were created and for that reason I'm unable to use My DBManager class methods inside threads and etc... what I want is to call updateUploadingFileStatus method declared inside DBManager, from thread which is running inside service. this is my DBManager class object DbManager { private val realm: Realm by lazy { Realm.getDefaultInstance() }...