CodePudding user response:
Android, the thread when updating the view, checking is in ViewRootImpl checkThread (), ViewRootImpl initialization is in the Activity's onResume () method, so, if a child thread before onResume update UI can be successful,