A data source to use to populate a Table.
table As iOSMobileTable
Return the number of rows for the section.
Your class should return the number of rows in your data source for this section. For example, if you are showing a list of names in sections for the first letter of the last name, then this method would return the number of names in the specified section.
The actual cell data for the section and row.
You will need to create an MobileTableCellData instance and populate it with the values from your data source to return it from this method.
Return the number of sections.
You should return the total number of sections in your data source. For example, if you are displaying names with sections for each letter of the alphabet, then you might return 26 here.
If you are not using sections, you can return 1 since there always needs to be at least one section.
Return the title for the section.
If you are not using sections, you can return empty text ("") here.
When using sections, return the name for the specified section. For example, if you are displaying names with sections for each letter of the alphabet, you might return "A" when section of 0 is passed in as a parameter.
To use the interface, create a class that implements the interface to manage the data. The data could be in a database, dictionary, array or anything else you want. Your class implements the methods below to return the appropriate values based on the data it is managing.
For best performance, use a data source instead of adding the rows to the table manually using the various AddRow methods.
iOS projects on the iOS operating system.