GearVRf icon indicating copy to clipboard operation
GearVRf copied to clipboard

GVRTextView from non-UI thread

Open danke-sra opened this issue 9 years ago • 1 comments

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.

danke-sra avatar Jan 08 '16 22:01 danke-sra

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.

William-Sudletsky avatar Feb 06 '16 01:02 William-Sudletsky