I am developing an android app in which user fills a form by selecting CREATE NEW from a list view and the form is stored in a SQLite database and appears on listview. It is like this
Starting only CREATE NEW
After filling a forms ListView will be like
CREATE NEW
FORM1
FORM2
Each form refers a record in a database table
Now What I want to do is.
If I click on Form1 it should open for the user to edit and so on.
I am using the position of the listview to match with primary id of the record and showing the respective record
But the whole problem is coming when I delete records
Is there any more elegant method to get the ID of the ListView Item when it is populated from database?
以上就是Getting the ID of the ListView Item when it is populated from a database的详细内容,更多请关注web前端其它相关文章!