09/27/2018, 2:27 PM
Hello again! 🙂 I'm starting a thread in an object, but it seems to start in Main thread. Is this normal behaviour? Here is what I have: The SocketObject has a function that should connect and call back a function in the main thread. Except it gives me a NetworkOnMainThreadException. I did not have that when I was creating the thread in the Activity, not the Object.