dya2 / android-scripting

Automatically exported from code.google.com/p/android-scripting
0 stars 0 forks source link

FullScreenUI droid.fullSetList() exception - "Only the original thread that created a view hierarchy can touch its views" #631

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What device(s) are you experiencing the problem on?
Samsung Galaxy S2

What firmware version are you running on the device?
Stock Firmware

What steps will reproduce the problem?
1. Calling droid.fullSetList() the first time immediately after 
droid.fullShow() works properly
2. Calling droid.fullSetList() subsequent time (eg. in eventloop) to change/set 
a different list causes exceptions. 
3. droid.fullSetProperty() shows no similar issues and updates properly. the 
problem seems to exist only with lists
4. Attached script & screenshot demonstrating the issue

What is the expected output? What do you see instead?
List should change to the new one passed

What version of the product are you using? On what operating system?
SL4A r5x18

Original issue reported on code.google.com by srinathd...@gmail.com on 27 May 2012 at 12:58

Attachments:

GoogleCodeExporter commented 9 years ago
I've looked into this, and in theory it should work.
Can you send me some sample code?

Original comment by rjmatthews62 on 2 Jun 2012 at 7:37

GoogleCodeExporter commented 9 years ago
I do believe I've fixed it. Check out 5x20 and let me know how it goes.

Original comment by rjmatthews62 on 4 Jun 2012 at 3:48

GoogleCodeExporter commented 9 years ago
Fixed in r5x20

Original comment by rjmatthews62 on 4 Jun 2012 at 10:15