what would be the proper widget?

Hey There,

I am very new to corona and developing my second app, would need some advice to orient me toward the proper tools to use:

I have this app, let’s say it generates a random number for each session.

I’d like to set up a save/load screen in which you can view,save and load the number generated in every session of the app. 

I was thinking table-view, but I’m not familiar with the tool… Are corona table-views interactive?

In the sense I’d like to have every row containing the number generated in said sessions ( retrieved from a proper save file), with the date of the session and most important buttons on the row, IOS style, to delete or load that session.

Can table view do that or is it just a non interactive displayer of data? Should I use some other widget?

Thanks for the help!

Hi @akak,

Yes, most things that would be presented in “rows” are suitable for a table view, especially if you’ll end up showing more rows than can fit on the screen (thus the user needs to scroll the view up and down).

If you’ve never used the table view before, please start with the docs here:

http://docs.coronalabs.com/api/library/widget/newTableView.html

Brent

Thank Brent!

I then assume I can implement the two button i need (delete\load) in each of the rows…? Do you know of a tutorial on how to do so, I’m having hard times finding one specific on the topic.

Thanks.

Hi @akak,

I don’t know if there’s a tutorial which specifically outlines your scenario, but the following might get you started with some more advanced concepts:

http://coronalabs.com/blog/2014/03/04/tutorial-advanced-tableview-tactics/

Best regards,

Brent

Hi @akak,

Yes, most things that would be presented in “rows” are suitable for a table view, especially if you’ll end up showing more rows than can fit on the screen (thus the user needs to scroll the view up and down).

If you’ve never used the table view before, please start with the docs here:

http://docs.coronalabs.com/api/library/widget/newTableView.html

Brent

Thank Brent!

I then assume I can implement the two button i need (delete\load) in each of the rows…? Do you know of a tutorial on how to do so, I’m having hard times finding one specific on the topic.

Thanks.

Hi @akak,

I don’t know if there’s a tutorial which specifically outlines your scenario, but the following might get you started with some more advanced concepts:

http://coronalabs.com/blog/2014/03/04/tutorial-advanced-tableview-tactics/

Best regards,

Brent