title: how to create custom listadapter class in android studio
body: <p>i switched eclipse to android studio i m little bit confuse on working android studio and i was working on listview app but custom adapter class not inherit to  parent class .</p>
  
  <hr>
  
  <pre><code>protected void onCreate(Bundle savedInstanceState)
  </code></pre>
  
  <p>{
          super.onCreate(savedInstanceState);</p>
  
  <pre><code> setContentView(R.layout.activity_main);
  
  lv=(ListView)findViewById(R.id.listView);
  
   custom cos=new custom(this);
  
   lv.setAdapter(cos);
  </code></pre>
  
  <p>}</p>
  
  <hr>
  
  <p>..but  custom name java class not inherit to parent class in android studio.</p>