title: ArrayList Adapter constructor fails (?)
body: <p><strong>EDIT: Need to know how to create an <code>ArrayList</code> filled by a Textview</strong></p>
  
  <p>I am trying to create an <code>ArrayAdapter</code> for a <strong>Multidimensional</strong> (2D) <code>ArrayList</code>:</p>
  
  <pre><code>        final ArrayAdapter&lt;ArrayAdapter&lt;ArrayList&lt;String&gt;&gt;&gt; adapterNames = new ArrayAdapter&lt;ArrayAdapter&lt;ArrayList&lt;String&gt;&gt;&gt;(this,android.R.layout.simple_list_item_1, android.R.id.text1, arrayNamesOne);
  </code></pre>
  
  <p>This is the log error I get:</p>
  
  <blockquote>
    <p>Error:(28, 76) error: no suitable constructor found for
    ArrayAdapter(MainActivity,int,int,ArrayList>)
    constructor
    ArrayAdapter.ArrayAdapter(Context,int,int,ArrayAdapter>[])
    is not applicable (argument mismatch; ArrayList>
    cannot be converted to ArrayAdapter>[]) constructor
    ArrayAdapter.ArrayAdapter(Context,int,int,List>>)
    is not applicable (argument mismatch; ArrayList>
    cannot be converted to List>>)</p>
  </blockquote>
  
  <p>If you prefer to take a better look at the whole code interested, here you go:</p>
  
  <pre><code>public class MainActivity extends ActionBarActivity {
  //1ST DECLARATION
  ArrayList&lt;ArrayList&lt;String&gt;&gt; arrayNamesOne = new ArrayList&lt;ArrayList&lt;String&gt;&gt;();
  ListView listNamesOne;
  TextView namesTextOne;
  
  @Override
  protected void onCreate(Bundle savedInstanceState) {
      super.onCreate(savedInstanceState);
      setContentView(R.layout.activity_main);
  
  
      //1ST SETUP
      listNamesOne = (ListView) findViewById(R.id.listNamesId);
      namesTextOne = (TextView) findViewById(R.id.namesTexter);
  
      final ArrayAdapter&lt;ArrayAdapter&lt;ArrayList&lt;String&gt;&gt;&gt; adapterNames = new ArrayAdapter&lt;ArrayAdapter&lt;ArrayList&lt;String&gt;&gt;&gt;(this,android.R.layout.simple_list_item_1, android.R.id.text1, arrayNamesOne);
      listNamesOne.setAdapter(adapterNames);
      //END 1ST SETUP
  
      //1ST BUTTON '+'
      Button buttonPlus = (Button)findViewById(R.id.buttonPlus);
      buttonPlus.setOnClickListener(
              new Button.OnClickListener() {
                  //CLICK EVENT
                  @Override
                  public void onClick(View v) {
                      //IF EMPTY
                      if (namesTextOne.getText().toString().isEmpty()){
                          Context context = getApplicationContext();
                          CharSequence text = "Add an item first";
                          int duration = Toast.LENGTH_SHORT;
                          Toast.makeText(context, text, duration).show();
                      //IF SPACES ONLY
                      }else if(namesTextOne.getText().toString().trim().isEmpty()){
                          Context context = getApplicationContext();
                          CharSequence text = "You can't use spaces only";
                          int duration = Toast.LENGTH_SHORT;
                          namesTextOne.setText("");
                          Toast.makeText(context, text, duration).show();
                      //ALRIGHT, ADD IT!
                      } else if(!namesTextOne.getText().toString().isEmpty()) {
                          arrayNamesOne.add(0, (ArrayList&lt;String&gt;) namesTextOne.getText());
                          adapterNames.notifyDataSetChanged();
                          namesTextOne.setText("");
                      }
  
                  }
              }
      );
  }
  </code></pre>