Does the Table view work for iPad?

Hello

Sorry again with the Table view question. I notice the table View supports iPad but if the config is set at “ZoomEven” when it’s set to letterbox the whole table view is not full as well it works strangely around the iPhone 5. Is there a way to Have the table view support iPhone 4, iPhone 5, and iPad using letterbox and table view at the same time? [import]uid: 17058 topic_id: 36159 reply_id: 336159[/import]

Are you specifiying a width and height on the tableView?
Are you providing a mask file if you are?
What is your config.lua like?
[import]uid: 199310 topic_id: 36159 reply_id: 143658[/import]

Well the the table view is in the Corona SDK sample were it says Interface/List View 3 that folder. That is the folder Im talking about and also the table view I’m using as well.

[import]uid: 17058 topic_id: 36159 reply_id: 143673[/import]

Before we go into too much work diagnosing this, can you download today’s daily build. We have released Widgets 2.0 with today’s build and tableView got many bugs fixed with it. I’ve not looked at what changes are involved. Make sure to download the daily documentation too.

[import]uid: 199310 topic_id: 36159 reply_id: 143717[/import]

I downloaded the Daily Build with the 2.0 Widget. Well it look like it does not work or is missing parts. Like images. [import]uid: 17058 topic_id: 36159 reply_id: 143724[/import]

Images are now included in the core for the themes and are not needed any more (though it looks like masks still do). There is some conversion needed to migrate from Widgets 1.0 to 2.0. You will need to download the docs for the daily build. They contain a Migration guide for moving from 1.0 to 2.0.

[import]uid: 199310 topic_id: 36159 reply_id: 143832[/import]

Ok I downloaded and looked at the Migration widgets. I see a problem in the widgets. I get an error in the Terminal saying this


bad argument #-1 to ‘?’ (Proxy expected, got nil)
stack traceback:
[C]: ?
[C]: in function ‘?’
?: in function ‘newText’
…oronaSDK1034/SampleCode/Interface/ListView1/main.lua:66: in function ‘onRender’
?: in function ‘?’
?: in function ‘?’
?: in function ‘?’
?: in function ‘insertRow’
…oronaSDK1034/SampleCode/Interface/ListView1/main.lua:139: in main chunk

This error is from using the Sample Code of Corona in ListView1. This error is explaining why I don’t see the 2.0 widget improvement because of this error. What do I need to do to fix it? [import]uid: 17058 topic_id: 36159 reply_id: 143900[/import]

I just ran ListView1 in build 1034 and it worked exactly as expected. The Sample code provided with 1034 should be working for you.

I’m not sure where your errors are coming from. I’ll share this with the engineers, it looks like it’s getting a nil row. Are you on Windows or on a Mac?
[import]uid: 199310 topic_id: 36159 reply_id: 143906[/import]

Im on Mac [import]uid: 17058 topic_id: 36159 reply_id: 143917[/import]

@sebittas:

Did you modify the listView1 sample code at all? [import]uid: 84637 topic_id: 36159 reply_id: 143932[/import]

@Danny

As I can think of it nope. When I first opened it I only saw 1 row and the top bar that’s it. I did not see 20 rows goings down just what it says in the code. I only saw 1 row.

Would it be possible for your code that works to post it to see if it’s a coded error or something else.

EDIT: Never mind I got it. I was using Corona Build 910 trying to run the Widget 2.0 sorry about that. Thanks [import]uid: 17058 topic_id: 36159 reply_id: 143933[/import]

@Sebittas:

No problem, thanks for letting us know it works for you and what the issue was. [import]uid: 84637 topic_id: 36159 reply_id: 143973[/import]

Are you specifiying a width and height on the tableView?
Are you providing a mask file if you are?
What is your config.lua like?
[import]uid: 199310 topic_id: 36159 reply_id: 143658[/import]

Well the the table view is in the Corona SDK sample were it says Interface/List View 3 that folder. That is the folder Im talking about and also the table view I’m using as well.

[import]uid: 17058 topic_id: 36159 reply_id: 143673[/import]

Before we go into too much work diagnosing this, can you download today’s daily build. We have released Widgets 2.0 with today’s build and tableView got many bugs fixed with it. I’ve not looked at what changes are involved. Make sure to download the daily documentation too.

[import]uid: 199310 topic_id: 36159 reply_id: 143717[/import]

I downloaded the Daily Build with the 2.0 Widget. Well it look like it does not work or is missing parts. Like images. [import]uid: 17058 topic_id: 36159 reply_id: 143724[/import]

Images are now included in the core for the themes and are not needed any more (though it looks like masks still do). There is some conversion needed to migrate from Widgets 1.0 to 2.0. You will need to download the docs for the daily build. They contain a Migration guide for moving from 1.0 to 2.0.

[import]uid: 199310 topic_id: 36159 reply_id: 143832[/import]

Ok I downloaded and looked at the Migration widgets. I see a problem in the widgets. I get an error in the Terminal saying this


bad argument #-1 to ‘?’ (Proxy expected, got nil)
stack traceback:
[C]: ?
[C]: in function ‘?’
?: in function ‘newText’
…oronaSDK1034/SampleCode/Interface/ListView1/main.lua:66: in function ‘onRender’
?: in function ‘?’
?: in function ‘?’
?: in function ‘?’
?: in function ‘insertRow’
…oronaSDK1034/SampleCode/Interface/ListView1/main.lua:139: in main chunk

This error is from using the Sample Code of Corona in ListView1. This error is explaining why I don’t see the 2.0 widget improvement because of this error. What do I need to do to fix it? [import]uid: 17058 topic_id: 36159 reply_id: 143900[/import]

I just ran ListView1 in build 1034 and it worked exactly as expected. The Sample code provided with 1034 should be working for you.

I’m not sure where your errors are coming from. I’ll share this with the engineers, it looks like it’s getting a nil row. Are you on Windows or on a Mac?
[import]uid: 199310 topic_id: 36159 reply_id: 143906[/import]

Im on Mac [import]uid: 17058 topic_id: 36159 reply_id: 143917[/import]