title: is it possible to set adapter to linear layout?
body: <p>Is it possible to set adapter to a <code>LinearLayout</code>?</p>
  
  <p>I don't want to use <code>ListView</code> since I am using <code>ScrollView</code>.
  so I am using <code>LinearLayout</code>...</p>
  
  <p>In that I am dynamically adding views and now I need to use adapter..
  so anybody have any suggestions?</p>
  
  <p>I am doing this...</p>
  
  <pre><code>LinearLayout clientList = (LinearLayout) findViewById(R.id.clients);
  adapter = new Sample1AdapterActivity(this, arrayList);
  View list = (ListView) getLayoutInflater().inflate(R.layout.user_details, getListView(), false);
  </code></pre>