No problem.Is there a way to be able to click on the image on the left of the example, and then modify the data at that position in the DB?
In the SQLiteDB program, when you click on a cell the program knows the row and the column. Knowing the row we know the INTEGER PRIMARY KEY so we can read this data set, even when it's sorted or filtered.It seems that your example references the db by row and column, which, is great if the list is never sorted, or filtered.
That's exactly what the program does when you have selected a row and then you click on the Edit button. The program does read the data set with the given ID value and fills the EditText views of the Edit panel.Is there a way I can just select a row in the db based on the ID ( INTEGER PRIMARY KEY) field of the DB?
The sql Database is missing and the APP crashes. Is it possible to upload the sql File?Attached you find a new version of your project with some modifications:
- Clicking on the image changes from 'not buy' to 'buy' and vice and versa, and updates the database.
- Clicking on the button shows a new panel with the dataset data, click on the 'Back' button to go back.
- I don't understand why you use ListViews to show data ? I replaced those by Labels.