Make a demo to add the contact details of the contact, and I tried it, sure enough, the following error is reported. The Process: com.example.contactor_add_read, PID: 21622 android.view.ViewRootImpl$CalledFromWrongThreadException: Only the original thread that created a view hierarchy can touch its views.
test is over!
AS multithreading can only change the UI on the main thread
Guess you like
Origin blog.csdn.net/qq_41446977/article/details/112390328
Ranking