I get a list from a firebase database and show only titles from the database. After each title i created a button. If I press the button there is a line inserted on another page which collects a list of pressed items. Only all fields collected there are empty and dont have the title name in it.
How can I give a value with the button click that gets the title name when press the button instead of an empty field?