title: Alphabetic list with letter - clickable
body: <p>I am creating an alphabetic ordered list, where there is also a letter showing up above the items - see the image:
  <a href="https://i.stack.imgur.com/gQGtR.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/gQGtR.png" alt="screenshot"></a></p>
  
  <p>This is already done and working fine, but I need to have each item clickable, except the letters.</p>
  
  <p>This is a part of my code from MainActivity.java (fragment):</p>
  
  <pre><code>@Override
  public View onCreateView(LayoutInflater inflater, ViewGroup container,
                               Bundle savedInstanceState) {
  
          View rootView = inflater.inflate(R.layout.activity_bohovia, container, false);
  
          List&lt;LetterSectionListItem&gt; books = createBooks();
  
          ListView bookListView = (ListView) rootView.findViewById(R.id.booklistview);
  
                  LetterSectionListAdapter bookListAdapter = new LetterSectionListAdapter(getContext(), R.layout.booklist_row, books) {
              @NonNull
              @Override
              public View getView(int position, View v, ViewGroup parent) {
                  //Must call this before to wrap the header around the view
                  v = super.getView(position, v, parent);
  
                  TextView bookTitle = (TextView) v.findViewById(R.id.book_title);
                  TextView authorName = (TextView) v.findViewById(R.id.author_name);
  
                  Book book = (Book) this.getItem(position);
  
                  assert book != null;
                  bookTitle.setText(book.getBookName());
                  authorName.setText(book.getAuthorLastName() + ", " + book.getAuthorFirstName());
  
                  return v;
              }
          };
  
          bookListView.setAdapter(bookListAdapter);
  
          return rootView;
      }
  </code></pre>
  
  <p><strong>Now what I tried:</strong></p>
  
  <p>I put there this code, just above <code>return rootView;</code> :</p>
  
  <pre><code>v.setOnClickListener(new View.OnClickListener() {
                      @Override
                      public void onClick(View v) {
  
                          Intent intent=new Intent(v.getContext(),SingleitemView.class);
                          intent.putExtra("place2", "test");
                          getContext().startActivity(intent);
  
                      }
                  });
  </code></pre>
  
  <p>However, this is working fine, so opens another activity after clicking the item, but also when I click the standalone letters, and I don't want to have clickable letters A, B, C.. etc., just the items below.</p>
  
  <p>Can someone please advice here, what am I doing wrong?</p>