![]() ![]() Open res/values/strings.xml and replace it with following content. Refer this link to setup the Android development environmentĬreate an Android project and name it as ExpandableListDemo.Android Development Tools (ADT) Plugin for Eclipse (ADT version 20.0.0).Eclipse Juno IDE for Java EE Developers (4.2).Child item can be deleted by clicking on delete icon.This is processed in setOnChildClickListener. Toast is displayed when a child item is clicked.Each child item has a TextView and ImageView with delete icon.This expandable list view example explains the following.This example uses custom adapter for ExpandableListView which extends BaseExpandableListAdapter to populate items associated with this view.Expandable List allows two levels – groups which can individually be expanded to show its children.Also we will see how to delete child items in listview In this example, we will see how to create a simple expandable list view using Android’s ExpandableListView widget. ![]() ![]() 4.3 Create Android Custom Adapter class for ExpandableListView. ![]()
0 Comments
Leave a Reply. |