I have the following code:
chart.setOnClickListener(new OnClickListener() {
public void onClick(View v) {
final String aux= (String) lt.getItemAtPosition(position);
Intent myIntent = new Intent(infoList.this, tabList.class);
startActivity(myIntent);
}
});
I also have a ListView
. When I click on an item from that ListView
I navigate to another activity that shows me the info for that activity. How do I do that? I want that info to correspond to the item I clicked.