tableview list superimposed on the old one

I prepare my element list calling tableview.newList function that works fine; when I tap on tabBar and select another screen, I remove all display object; when return to the screen with the list, the new list is superimposed on the old. It seems that it remains stored in graphics memory somewhere…
Anyone can help me ?

thanks [import]uid: 89465 topic_id: 20146 reply_id: 320146[/import]

tableview.newList? What build is this? Are you using widget.newTableView or something else? [import]uid: 41884 topic_id: 20146 reply_id: 78730[/import]

Did you add the item to the same display group as your other stuff, using the .view property?

myGroup:insert( theList.view )

the docs say:

display.remove( list )
list = nil
– IMPORTANT NOTE:
– Don’t forget to set the reference variable to nil! (as shown above) [import]uid: 108660 topic_id: 20146 reply_id: 78741[/import]

I’m on build 2011.591 in trial.
I’m using the tableView.lua taken by some demo app … can’t remember which

thanks [import]uid: 89465 topic_id: 20146 reply_id: 78771[/import]

@jeff472: yes, I add the item to the same group and I’m removing the object as specified in the docs. The strange thing is that if I run corona simulator on mac is not working properly and if I run on Windows7 the simulator works properly.

Thanks [import]uid: 89465 topic_id: 20146 reply_id: 78773[/import]

Why not download the latest official build and use the tableView widget? It’s far more superior to the old tableView.lua [import]uid: 14018 topic_id: 20146 reply_id: 78780[/import]

@Mitaten: I downloaded the latest build but the problem is not solved. I do not use the widget Tableview because I can not get the transparent background as with the old tableview.lua. What I can not understand is why on win corona simulator the app works fine and the mac simulator does not. I tested the app with the iPhone but does not work properly.

[import]uid: 89465 topic_id: 20146 reply_id: 79114[/import]

You can get the transparent background. When applying the rowColor/lineColor of the rows you can specify the alpha value. Also when you apply the bgColor of the tableView can you specify the alpha value. The reason I’m advising you to use the widget is because you wont be encountering this problem with it [import]uid: 14018 topic_id: 20146 reply_id: 79330[/import]