title: get item on setOnItemClickListener listview by id
body: <p>how i can get item details on click listview by id, not by position. my code is : </p>
  
  <pre><code>listViewCatalog.setOnItemClickListener(new AdapterView.OnItemClickListener() {
  
          @Override
          public void onItemClick(AdapterView&lt;?&gt; parent, View view, int position,
                                  long id) {
              //Category category = categoryAdapter.getItem(position);
  
              Intent productDetailsIntent = new Intent(getBaseContext(), ProductDetailsActivity.class);
              productDetailsIntent.putExtra(ShoppingCartHelper.PRODUCT_INDEX, position );
              startActivity(productDetailsIntent);
          }
      });
  </code></pre>
  
  <p>that code work and i can view detail my product on another class(ShoppingCartHelper.java). But i want to get details product using id on that product. any advice guys?</p>