contextmenu for particular line in a multi-line view listview 
<p>I have a listview with each item in the list having 2 lines .I want to create a context menu for it such that the header of the context menu should be the text in the first line of the selected item.How to achieve this.Here the name "dfsflk" was hardcoded.I want  the program to identify the selected item and display the name as the title.</p>

<pre><code>@Override     
  public void onCreateContextMenu(ContextMenu menu, View v, ContextMenu.ContextMenuInfo menuInfo) 
  {  
      super.onCreateContextMenu(menu, v, menuInfo);
      MenuInflater inflater = getMenuInflater();         
      inflater.inflate(R.menu.contextmenu, menu);
      menu.setHeaderTitle( "dfsdlk");
  }
</code></pre>
