title: How to create a dynamic context menu in android?
body: <pre><code>@Override  
      public void onCreateContextMenu(ContextMenu menu, View v,ContextMenuInfo menuInfo) {  
  
          super.onCreateContextMenu(menu, v, menuInfo);  
          menu.setHeaderTitle("Selection Options");  
          menu.add(0, v.getId(), 0, "Remove");  
      }  
  </code></pre>
  
  <p>I want my menu to say "Remove AAPL"</p>
  
  <p>I would get the string AAPL from my array adapter, but I am not sure how I can access my array adapters index from this method.</p>