Page 19 - Xamarin Android Application Development
P. 19

ListView                                                                                    15














               Add a ListView control to the Main Layout.




















               The following method would generate sample data.























               Now in Activity1, we would get the ListView control and set the data by using following code.














               Let’s run the application. Oops, the entity class name is displayed instead of data. That means we
   14   15   16   17   18   19   20   21   22   23   24