Custom Adapter for List View

This is a class I had used for my project. You need to have a collection of your items which you want to display, in my case it’s <Item>. You need to override View getView(int position, View convertView, ViewGroup parent) method. R.layout.itemlistrow defines the row of the ListView. In the MainActivity define ListViewlike this,

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)