Listview Example : Getting started with Android

Today, we are going to see about a simple listview example. In Android, Listview is used to show a list of items in a vertically scrolling list.  Learn a listview of android array in this tutorial.

For instance, in a Registration form when we are selecting professions a list of items will be displayed. We can use Listview to display the list of items.

Your XML file should look like

Your Java code looks like
The output will look like

listview

Latest Tweets

Facebook

Get the Facebook Likebox Slider Pro for WordPress