I can see emitted messages from the server in the Android app's console log using System.out
. How do I actually use this new data to change things in my UI though?
I have tried setText
on a TextView
that I got a handle to in onCreate
. No error is thrown but nothing actually happens.
I also tried making a Toast
but I get an error java.lang.RuntimeException: Can't create handler inside thread that has not called Looper.prepare()
.