title: Android - ListView - ContextMenu doesn't shown on every list item
body: <p>I've got Main.java activity which owns ListView (simple Notepad app). I need context menu when click on listview item (single note) with "copy". I have 3 notes</p>
  
  <ol>
  <li>Long note</li>
  <li>URL note</li>
  <li>Short note</li>
  </ol>
  
  <p>Only on URL note context menu is poping up when clicked. Why?</p>
  
  <pre><code>public class Main extends Activity {
      private Button createButton;
      private ListView notesListView;
      private ArrayList&lt;Note&gt; notes;
      private Note selectedNote;
      public static final int noteEditorRequest = 1;
      public static final int noteCreateReqeust = 2;
  
      /** Called when the activity is first created. */
      @Override
      public void onCreate(Bundle savedInstanceState) {
          super.onCreate(savedInstanceState);
          setContentView(R.layout.main);
  
          notes = NoteFileAdapter.getNotes();
          selectedNote = null;
  
          if (notes == null) {
              Toast.makeText(this, R.string.err_read, Toast.LENGTH_LONG).show();
              notes = new ArrayList&lt;Note&gt;();
          }
  
          createButton = (Button) findViewById(R.id.mainCreateButton);
          createButton.setOnClickListener(new OnClickListener() {
              @Override
              public void onClick(View v) {
                  Intent intent = new Intent(Main.this, NoteEditor.class);
                  intent.putExtra("request", noteCreateReqeust);
                  startActivityForResult(intent, noteCreateReqeust);
              }
          });
  
          notesListView = (ListView) findViewById(R.id.mainNotesListView);
          notesListView.setAdapter(new MainNoteAdapter(this, notes));
          registerForContextMenu(notesListView);
      }
  
      @Override
      public void onCreateContextMenu(ContextMenu menu, View v, ContextMenuInfo menuInfo) {       
          AdapterContextMenuInfo info = (AdapterContextMenuInfo) menuInfo;
          selectedNote = (Note) notesListView.getItemAtPosition(info.position);
  
          menu.setHeaderTitle(R.string.contextmenu_title);
          menu.add(R.string.contextmenu_copy).setOnMenuItemClickListener(
                  new OnMenuItemClickListener() {
                      @Override
                      public boolean onMenuItemClick(MenuItem item) {
                          ClipboardManager clipboardManager = (ClipboardManager) getSystemService(CLIPBOARD_SERVICE);
                          clipboardManager.setText(selectedNote.getTextContent());
                          return true;
                      }
                  });
      }
  </code></pre>