ListView and hidden Id. How it is possible?
I'm developing an application for android and now I have implemented a ListView that shows a list of courses, connected to a database. I would like to know how to include, with the name, an hidden id (that come from the db) so that once the user click on the elements the app goes to the relative view of the selected courses. And how can I maintain the id during the navigation inside the course-view? At the moment my code just load the name of the courses from the db and set in the list view: ArrayAdapter<String> result = new ArrayAdapter<String>(CourseActivity.this, android.R.layout.simple