@Override
			public void onClick(View listView, View buttonview, int position) {

				/**
				 * Normally you would put a switch
				 * statement here, and depending on
				 * view.getId() you would perform a
				 * different action.
				 */
				String actionName = "";
				if(buttonview.getId()==R.id.buttonA) {
					actionName = "buttonA";
				} else {
					actionName = "ButtonB";
				}
				/**
				 * For testing sake we just show a toast
				 */
				Toast.makeText(
					ExampleActivity.this,
					"Clicked Action: "+actionName+" in list item "+position,
					Toast.LENGTH_SHORT
				).show();
			}
This example shows a expandable listview
with a more button per list item which expands the expandable area.

In the expandable area there are two buttons A and B which can be click.

The events for these buttons are handled here in this Activity.

@author tjerk
@date 6/13/12 7:33 AM
sample/src/main/java/com/tjerkw/slideexpandable/sample/ExampleActivity.java