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: https://gist.github.com/CamilleBC/4d2512ad13dfdb544b1f633c3472e423
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.