

Protected override void OnCreate(Bundle bundle)


[Activity(Label = "ANDROID_APP", MainLauncher = true, Icon = class MainActivity : ListActivity The activity which binds data to the list view should implement IListAdapter interface, Android by default provides a class which has implemented IListAdapter interface the class is called as ListActivity.Įxtend the MainActivity class from ListActivity. Adapter – A class that binds the data to the List view.Īndroid has built-in Views and Adapters defined in Android.Resources or the user can create a custom View or Adapter based on their needs.įirst let’s look in to how to create a basic built-in List view using built-in Adapters.
