I\'m making class like as below
// All necessary imports are here
public class More extends Activity {
String[] MoreItems = { \"Transfers\", \"Budgets\
There are two option to handle click event for each row.
1) If your class extends ListActivity
, you can override following method.
@Override
protected void onListItemClick(ListView l, View v, int position, long id) {
super.onListItemClick(l, v, position, id);
//do something here using the position in the array
}
2) Handle click event of row in getView()
method
row.setOnClickListener(new OnClickListener() {
@Override
public void onClick(View v) {
}
});