title: Remove filter from EditText in Android?
body: <p>It is possible to add filters in Android by doing something like this to add a 3 char limit to the field:</p>
  
  <pre><code>editText.setFilters(new InputFilter[] { new InputFilter.LengthFilter(3) });
  </code></pre>
  
  <p>What about removing an already set filter though? My problem is I will be switching between a 3 and 4 character max length on the field depending on a selection by the user. Just running the above code feels like it would generate alot of extra work for the GC. </p>
  
  <p>I could of course add a couple of instance variables that correspond to each filter and just add them when needed and then I would only have the two filters which is fine for this case. It would be interesting to know if it is possible to completely remove a filter though. Perhaps by passing in null?</p>