I was trying to understand the threading in android. As we know, we can't update a view from background thread. I was trying to understand with different cases and came across a case below. When I clicked on the Start work button, I created a thread and after 5 sec I changed the textview value from that thread. Why is it working fine and app not crashing as I am updating a view from another thread not UI thread? Can anyone explain it?
-----------------------------ds