title: Is it possile to set some item unclickable in ListView or GridView on Android?
body: <p>Is it possile to set some item unclickable in ListView or GridView on Android?<br>
  For example, if user click item 0, I want to set item 1 cannot be click.<br>
  But if handle in onItemClick method, it still can click and change color.<br>
  I want it cannot be click means item click but do nothing.<br>
  My code as below:  </p>
  
  <pre><code>GridView gv = (GridView)findViewById(R.id.gv);
  gv.setOnItemClickListener(new OnItemClickListener() {
      @Override
      public void onItemClick(AdapterView&lt;?&gt; arg0, View arg1, int position, long arg3) {
          if(position == 0) {
              //set item 1 unclickable
          }
      }
  });
  ListView lv = (ListView)findViewById(R.id.lv);
  lv.setOnItemClickListener(new OnItemClickListener() {
      @Override
      public void onItemClick(AdapterView&lt;?&gt; arg0, View arg1, int position, long arg3) {
          if(position == 0) {
              //set item 1 unclickable
          }
      }
  });
  </code></pre>
  
  <p>How can I set it?  </p>