من اطلاعاتم را از دیتابیس میگیرم اما نمیتونم توسط customlist در listview نمایش بدهم ... لطفا کمک کنید...

mainactivity.java:

import android.database.sqlite.SQLiteDatabase;import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
import android.widget.AdapterView;
import android.widget.ArrayAdapter;
import android.widget.ListView;
import android.widget.Toast;

import java.util.ArrayList;

public class ListActivity2 extends AppCompatActivity {
public ListView listView;
ConnectDB conDB;
CustomList adapter;

ArrayList<human> humans;
human h;



@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_list2);
conDB =new ConnectDB(this);
humans =conDB.select_human();

adapter = new CustomList(this,humans);
listView =(ListView)findViewById(R.id.listView2);
listView.setAdapter(adapter);
listView.setOnItemClickListener(new AdapterView.OnItemClickListener() {
@Override
public void onItemClick(AdapterView<?> adapterView, View view, int i, long l) {
Toast.makeText(getApplicationContext(), "You Clicked ", Toast.LENGTH_SHORT).show();
}
});



}
}



customlist.xml:

<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"    android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layoutDirection="rtl"
android:background="@drawable/list_selector"
android:orientation="horizontal"
android:padding="5dip" >

<!-- ListRow Left sied Thumbnail image -->
<LinearLayout android:id="@+id/list_image"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:padding="3dip"
android:layout_alignParentLeft="true"
android:layoutDirection="rtl"
android:layout_marginRight="5dip">

<ImageView
android:id="@+id/im_person_list"
android:layout_width="50dip"
android:layout_height="50dip"
android:src="@drawable/ic_person_24dp"/>

</LinearLayout>

<!-- Title Of Song-->
<TextView
android:id="@+id/title"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignTop="@+id/list_image"
android:layout_toRightOf="@+id/list_image"
android:text="Rihanna Love the way lie"
android:textColor="#040404"
android:typeface="sans"
android:textSize="15dip"
android:textStyle="bold"/>

<!-- Artist Name -->
<TextView
android:id="@+id/txt_semat_list"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_below="@id/title"
android:textColor="#343434"
android:textSize="10dip"
android:layout_marginTop="1dip"
android:layout_toRightOf="@+id/list_image"
android:text="Just gona stand there and ..." />
<TextView
android:id="@+id/mostaghim_call"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_below="@id/txt_semat_list"
android:textColor="#343434"
android:textSize="10dip"
android:layout_marginTop="1dip"
android:layout_toRightOf="@+id/list_image"
android:text="Just gona stand 213there and ..." />

<!-- Rightend Duration -->
<TextView
android:id="@+id/txt_dakheli_list"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentRight="true"
android:layout_alignTop="@id/title"
android:gravity="right"
android:text="داخلی : "
android:layout_marginRight="5dip"
android:textSize="10dip"
android:textColor="#10bcc9"
android:textStyle="bold"/>

<!-- Rightend Arrow -->
<ImageView android:layout_width="30dp"
android:layout_height="30dp"
android:id="@+id/im_call_list"
android:background="@drawable/ic_call_24dp"
android:layout_centerVertical="true"
android:layout_alignRight="@+id/txt_dakheli_list"
android:layout_alignEnd="@+id/txt_dakheli_list" />

<ImageView android:layout_width="25dp"
android:layout_height="25dp"
android:id="@+id/im_import_contact"
android:background="@drawable/import_contacts_24px"
android:layout_centerVertical="true"

android:layout_marginRight="30dp"
android:layout_toRightOf="@+id/im_call_list"
android:layout_toEndOf="@+id/im_call_list" />

</RelativeLayout>



customlist.java:

import android.app.Activity;import android.content.Context;
import android.content.res.Resources;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ArrayAdapter;
import android.widget.ImageView;
import android.widget.TextView;
import android.widget.Toast;

import java.util.ArrayList;
import java.util.List;

public class CustomList extends ArrayAdapter<human>{

private Activity mcontext;
private ArrayList<human> humans;
private Activity context;

public CustomList(Activity context,ArrayList<human> human) {
super(context, R.layout.human_list);
this.mcontext=context;
this.humans=human;

}



/*private final Activity mcontext;
private final ArrayList<human> web1;
private static LayoutInflater inflater=null;*/


//after write code for set pic, delete this code
//Integer[] imageId;
//

// public CustomList(Activity context,ArrayList<human> web)
//{
/* super(context, R.layout.human_list, web);
mcontext = context;
web1 = web;
}*/

@Override
public View getView(int position, View convertView, ViewGroup parent) {
LayoutInflater inflater = context.getLayoutInflater();
View listviewItem= inflater.inflate(R.layout.human_list, null, true);

TextView txtTitle = (TextView) listviewItem.findViewById(R.id.title);
TextView txtSemat = (TextView) listviewItem.findViewById(R.id.txt_semat_list);
TextView txtdakheli = (TextView) listviewItem.findViewById(R.id.txt_dakheli_list);
TextView txtmostaghim = (TextView) listviewItem.findViewById(R.id.mostaghim_call);
// ImageView im_person = (ImageView) listviewItem.findViewById(R.id.im_person_list);
// ImageView im_call = (ImageView) listviewItem.findViewById(R.id.im_call_list);
// ImageView im_import = (ImageView) listviewItem.findViewById(R.id.im_import_contact);


txtTitle.setText(humans.get(position).get_F_NAME() +" "+humans.get(position).get_L_NAME()+" ");
txtSemat.setText(humans.get(position).get_SEMAT()) ;
txtdakheli.setText(humans.get(position).get_DAKHEL I());
txtmostaghim.setText(humans.get(position).get_MOST AGHIM());


//im_person.setBackgroundResource(R.drawable.person) ;
//imageView.setImageResource(imageId[position]);
return listviewItem;
}
}