I created my own listView, which extends ListActivity, and each row contains 2 text fields and a button.
adapter = new SimpleAdapter(this, arraylist, R.layout.simplelistcustom, new String[] { "count","title"},
new int[] {R.id.invisible, R.id.textView11 });
setListAdapter(adapter);
When I click on the list list row, I get the selected row index and using the index I get the child rows
protected void onListItemClick(ListView listView, View view, int position, long id)
{
super.onListItemClick(listView, view, position, id);
String selection = listView.getItemAtPosition(position).toString();
}
Exit when I appear in the “select” in Logcat,
{count=6, title=etywewetr}
The problem is that I want to share the content .... How is this possible ... PLZ help
thanx in advance
source
share