passing the position from listview to new activity
问题 how can i pass the value or the position of the selected item in listview to a new activity tha will use that value to retrieve data from database in listview (in the new activity) i have code that it works but always pass a null value for the position that has been passed. my code for the first activity : listView.setOnItemClickListener(new OnItemClickListener() { @Override public void onItemClick(AdapterView<?> parent,View view, int position, long id) { // ListView Clicked item index int