CRamsan / CoreProject

This is a project that aims to provide a scalable architecture for mobile development.
https://cramsan.com/
1 stars 0 forks source link

Fix java.lang.IllegalStateException: Cannot invoke setValue on a background thread in androidx.lifecycle.LiveData.assertMainThread (LiveData.java:487) #274

Closed CRamsan closed 2 years ago

CRamsan commented 3 years ago

Version 0.12-preprod(1410)

Stacktrace

androidx.lifecycle.LiveData.assertMainThread (LiveData.java:487);

androidx.lifecycle.LiveData.setValue (LiveData.java:306);

androidx.lifecycle.MutableLiveData.setValue (MutableLiveData.java:50);

Reason

java.lang.IllegalStateException: Cannot invoke setValue on a background thread

Link to App Center

CRamsan commented 2 years ago

Closing since this is a Debug crash.