title: selecting multiple contacts using checkbox
body: <p>I am trying to create a application for android. in which at one point i need to open a activity i need to display all the contacts on user's phone in a <code>listview</code> with <code>checkbox</code>, so that multiple contacts can be selected. I have written a code which currently shows the list of all the contacts but without checkbox as you can see in the image attached. Next, when the user selects the required contacts using <code>checkbox</code> and <code>clicks on DONE button</code> the result should be derived in main activity and all the contacts which the user selected should be displayed in the <code>EditText</code> like this <code>Frank &lt;+911234567890&gt;, John &lt;+913456789012&gt;, Ashley &lt;+911237890456&gt;,</code>. How can i achieve what i want? And also the dashes(-) which are currently getting displayed should also disappear.</p>
  
  <p><img src="https://i.stack.imgur.com/QAvIq.png" alt="enter image description here"></p>