Posts Tagged ‘ listview ’

ListView with Images and Text using Simple Adapter in Android

June 18, 2012
By
listview_with_images_and_text_featured

In this article we will create an android application with a listview which holds both text and images as listview items. An extension to this article is available in the article titled “Android ItemClickListener for a ListView with Images and Text“, where an item click event handler is added. For loading images and text...

Read more »

Event Listener for a ListView in Single Selection mode

June 15, 2012
By
listview_radiolistener_in_execution_featured

In this article we will create an event listener for listview in single selection mode ( Radio Button ) . 1. Create an Android project namely ListViewRadioListener 2. Select build target for this application 3. Enter application details 4. Open and update the file /res/layout/main.xml with the given below code 5. Open and update...

Read more »

Single Selection mode for ListView in Android

June 15, 2012
By
Single Selection mode for ListView in Android

In this application, we are creating a listview with single selection mode. That is only one item can be selected at a time. This is achieved by adding a radio button on each item in the listview. 1. Create an Android Project namely “ListViewRadio” 2. Select a build target for this application. For this...

Read more »

Event Listener for Checkboxes in ListView

June 14, 2012
By
Event Listener for Listview

In this article, we will see, how to write the code for handling the checkbox state changes in listview. If you want to use ToggleButton instead of checkboxes, please see the article titled “Enabling Multi Selection mode in ListView by adding ToggleButton using custom layout in Android“. 1. Create a new Android Project namely...

Read more »

ListView with Checkboxes in Android

June 14, 2012
By
ListView with Checkboxes

In this article, we are going to discuss, how to create and use checkboxes in ListView widget of Android. 1. Create a new Android project named ListViewCheckbox 2. Select build target as Android version 4.0 ( API level 14 ) 3. Enter application related details 4. Open and update the file /res/layout/main.xml with the...

Read more »

Filterable ListView in Android

June 14, 2012
By
Filterable ListView in execution

In this article, we are going to create a filterable listview application in Android. Filterable listview means that, whenever user types in some text, correspondingly the items in the listview will be filtered. 1. Create an Android project namely “ListViewFilterable” 2. Select a build target for this application 3. Enter the application details 4....

Read more »

ListView with custom layout in Android

June 13, 2012
By
ListView using Custom Layout

In the article titled A ListView application in Android, we have used a built in layout to render the items in listview widget. In this article we are going to list items in a listview widget using a custom layout. 1. Create an Android project named ListViewCustomLayout 2. Select build target for this application...

Read more »

A ListView application in Android

June 13, 2012
By
ListView Demo

In this article we are going to display a set of countries in a listview. 1. Creating an Android project namely ListViewDemo 2. Select the Android API level of the build target ( API level 14 ) 3. Enter Application Details : 4. Open and update the file /res/layout/main.xml with the given below code:...

Read more »

Be friend at g+

Subscribe for Lastest Updates

FBFPowered by ®Google Feedburner