title: Read large List in Android for AutoCompleteTextView
body: <p>I have a file with 72000 lines and 2,6M size. In this File are all String items for a AutoCompleteTextView.
  Currently i read them like this:</p>
  
  <pre><code>List&lt;IcdObject&gt; codes = new ArrayList&lt;IcdObject&gt;();
  try {
      InputStream input = getAssets().open("icd.txt");
      BufferedReader br = new BufferedReader(new InputStreamReader(input));
  
      String line;
      while ((line = br.readLine()) != null) {
      String[] icd = line.split("|");
      codes.add(new IcdObject(icd[0], icd[1]));
      }
  
      input.close();
  } catch (IOException e) {
      // TODO
      e.printStackTrace();
  }
  ArrayAdapter&lt;IcdObject&gt; adapter = new ArrayAdapter&lt;IcdObject&gt;(this,
      android.R.layout.select_dialog_item, codes);
  AutoCompleteTextView at = (AutoCompleteTextView) findViewById(R.id.AutoComplete);
  at.setThreshold(3);
  at.setAdapter(adapter);
  </code></pre>
  
  <p>The Garbage Collector goes crazy when i start the activity. But in the end all items get loaded, after waiting around 1min.
  Is there a method to load the file on demand or make it faster? </p>