Doubt regarding main thread Dispatchers.Main

why are we always doing networking in main thread , when we are supposed to do it in other thread related to networking things

Technically networking which is a time consuming task should be done in background thread. For the purpose of demonstration, it was done on main thread.