I know that no thread can access the current view unless it is the UI Thread. I am wondering why? Why does it matter which thread is changing the view? Is it a security reason?
Android application uses Single Thread Model and this thread is responsible to dispatch various events to the UI elements. This single thread model has two rules :
If you create a thread that uses View
outside the UI thread
then it violates the second rules.