Making an SQLite populated listview clickable then passes the clicked data to xml?



I am making a fruit "dictionary". I made a listview to display the list of fruits saved in SQLite. Here's the code for populating


I am wondering if it is possible that when a fruit is pressed it then passes the information of the chosen fruit to this single xml file(which all fruits will alternately use). Displaying the fruit details from the database. Like this


I would appreciate any form of help or links to tutorials about this.


ps. i know cabbage is not a fruit


No comments:

Post a Comment