I have some code that allows for dynamic column creation in a listview, and this works fine on Windows, Mac, Linux etc.
However, it doesn't seem to work on Android (at least on a compiled app on Android, it might run under the player but haven't checked).
Does anyone have any idea why this doesn't do anything on Android?
Thanks,
Dave
Code: Select all
moai.DoMethod("mylistview", "initchange")
moai.DoMethod("mylistview", "remove", "listview1")
moai.DoMethod("mylistview", "exitchange", False)
moai.FreeObject("listview1")
moai.CreateObject(listviewXml$, "mylistview")
moai.DoMethod("mylistview", "initchange")
moai.DoMethod("mylistview", "append", "listview1")
moai.DoMethod("mylistview", "exitchange", False)