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) #251

Closed CRamsan closed 3 years ago

CRamsan commented 3 years ago

Version 0.12-debug(1)

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 3 years ago

Closed as Debug only issue