I have created a listview which displays the installed applications. It has app icon + app name + check box. I want to select apps from this list and store the app names in a sqlite DB how should I begin with this?
Like how to identify the selected apps?
here’s an adapter I made for one of my apps. This is a classroom attendance function that shows the student’s name, photo and a couple of checkboxes (one for here, for for late). The list comes from a SQlite query, but I need to do something with each checkbox that is clicked.
Notice I have two sparse arrays “ItemCheckedHere’ and “ItemCheckLate”. these keep track of which items I’ve selected. Android doesn’t keep track and will reuse a view, so scrolling a list of checkboxes will result in boxes getting checked or unchecked seemingly at random without these arrays I use to maintain the checked status.