vendredi 8 mai 2015

How to show a tables rows when an item is clicked Ina listView?

So I am working on an android app, which works with SQLite. I have a table with grade information(_id, category, itemNumber, description, grade, date). From my MainActivity, when I press a button, it takes me to gradeListActivity. This activity has a listView, which shows all the row's category(i.e. Exam, Exam, Homework, Quiz, Lab, Exam. Note I entered in my table three exams, a homework, a quiz and a lab). Upto this point works. Now when I click on an item in the ListView, it takes me to GradeDetailActivity, this is suppose to show all the other colums of the category I selected in the previous activity. My question is how can I achieve that?

Aucun commentaire:

Enregistrer un commentaire