title: android - disable Listview item click and re-enable it
body: <p>So I have the following code in the adapter:</p>
  
  <pre><code>@Override
      public boolean isEnabled(int position) 
      {
           GeneralItem item = super.getItem(position);
           boolean retVal = true;
  
  
              if (item != null)
              {
                  if (currSection != some_condition)
                  retVal = !(item.shouldBeDisabled());
              }
           return retVal;
       }
  
  
      public boolean areAllItemsEnabled() 
      {
          return false;
      }
  </code></pre>
  
  <p>The question here: So if I disabled my item during initial binding, now I raise the event on the screen and need to enable them all no matter what. Do I rebind it all again after that action is performed? </p>
  
  <p>for instance:</p>
  
  <pre><code>onCreate{
  
  // create and bind to adapter
  // this will disable items at certain positions 
  
  }
  
  onSomeClick{
  
  I need the same listview with same items available for click no matter what the conditions of positions are, so I need them all enabled. What actions should I call on the adapter? 
  
  }
  </code></pre>
  
  <p>The problem is I can have a really long listview too. It supposes to support 6000 items. So rebinding it certainly is not an option.</p>
  
  <p>Thanks,</p>