How to add an Array of TextViews into a ListView? <p>I got this piece of code that creates new <code>TextView</code>, then adds it to <code>ArrayList&lt;View&gt;</code> and when it is finished adding <code>TextViews</code> to Array it sets adds that Array into <code>ListView</code>. But somehow my <code>ListView</code> is appearing empty. Any idea what am I doing wrong?</p> <p>Here is the code:</p> <pre><code>ListView lv = (ListView) findViewById(R.id.listView1); ArrayList&lt;View&gt; textvs = new ArrayList&lt;View&gt;(); for (int i=0; i&lt;10;i++) { TextView tv = new TextView(MainActivity.this); tv.setText(""+i); textvs.add(tv); } lv.addTouchables(portit); // lv is my listview </code></pre>