GearVRf
GearVRf copied to clipboard
GVRTextView from non-UI thread
I tried to instantiate GVRTextView from a script but got an error. GVRTextView needs to be instantiated from the UI thread.
It will probably help to add a synchronous function to run some task in UI thread and return a value.
I had to learn that the GVRViews have to be instantiated in the GVRActivity and then passed to the GVRScript in an array through trial and error. I suggest this be added to the documentation or the ability to add the GVRViews in the GVRScript be added.