title: listview dynamic buttons
body: <p>i'm developing android messaging application using java when a receive a message i inserted the information of it to a database..
  i want to create a listview with dynamic buttons, each button contain the data in the row of the database and i need to connect the id of the button to the id of the record so i can apply changes to the buttons such as deleting it using the id of it, and i need to create a new button every time i receive a message.
  I've been searching for some answers but i didn't find anything like this..
  thanks in advance. </p>