Can Not Bind Data in Listview
<p>i am working on application,in which used customized list, with text view in onether layout.
but i cant see list view in my activity ,my activity code is</p>

<pre><code>package com.gabriel.activity;
import java.util.ArrayList;

import com.gabriel.database.WebMessageCore;
import com.gabriel.database.WebMessageObject;
import com.gabriel.utility.WebMesssageItemadapter;


import android.app.Activity;
import android.app.ListActivity;
import android.content.Context;
import android.content.Intent;
import android.net.Uri;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.webkit.WebView;
import android.webkit.WebViewClient;
import android.widget.ImageButton;
import android.widget.ImageView;
import android.widget.ListView;
import android.widget.TextView;
import android.widget.Toast;

public class ContactInfoActivity extends ListActivity {



    WebMessageObject object;
    Context _Context;
    ArrayList&lt;WebMessageCore&gt; _WebMsgList;
    WebMessageCore _WebMsgCore;
    WebMesssageItemadapter adapter;


    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.web_msg_detail);
        _Context = this;
         object=new WebMessageObject(_Context);
        _WebMsgList = new ArrayList&lt;WebMessageCore&gt;();
        adapter = new WebMesssageItemadapter(_Context, R.layout.custom_row_2, _WebMsgList);
        setListAdapter(adapter);


        Bundle bundle = getIntent().getExtras();

        int id = 0;
        if(bundle != null) {
            id = bundle.getInt("id");
        }

        String name = null;
        if(bundle != null) {
            name=bundle.getString("name");

        }
        String message = null;
        if(bundle != null) {
            message=bundle.getString("message");

        }

        TextView usrName = (TextView)findViewById(R.id.usr_name);
        TextView msgButton = (TextView)findViewById(R.id.btnBck);
        TextView usrInfoBtn = (TextView)findViewById(R.id.btnUserInfo);



        msgButton.setOnClickListener( new OnClickListener(){

            @Override
            public void onClick(View v) {
                // TODO Auto-generated method stub

                 finish();


            }      

           });
        usrInfoBtn.setOnClickListener(new OnClickListener() {

            @Override
            public void onClick(View v) {

                Bundle bundle = getIntent().getExtras();

                int id = 0;
                if(bundle != null) {
                    id = bundle.getInt("id");
                }

                String name = null;
                if(bundle != null) {
                    name=bundle.getString("name");

                }
                String message = null;
                if(bundle != null) {
                    message=bundle.getString("message");

                }
                String mobilenumber = null;
                if(bundle != null) {
                    mobilenumber=bundle.getString("mobilenumber");

                }
                String upperString = name.substring(0,1).toUpperCase() + name.substring(1);
                // TODO Auto-generated method stub
                  Toast.makeText(getApplicationContext(), "Name: "+ upperString+"\n"+"MobileNumber:"+mobilenumber, Toast.LENGTH_LONG).show();
            }  

        });

        String upperString = name.substring(0,1).toUpperCase() + name.substring(1);
        usrName.setText(upperString);
        //Message1.setText(message.toString());





    }





@Override
public void onBackPressed() {
}
}
</code></pre>

<p>and one layout list is`</p>

<pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
&lt;RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:orientation="vertical"
    android:layout_width="fill_parent"
    android:layout_height="fill_parent"

    &gt;

&lt;RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="match_parent"
    android:layout_height="40dp"
    android:background="@drawable/top_head"
    android:id="@+id/titleArea2"

   &gt;
&lt;!-- &lt;ImageView
        android:id="@+id/btnBck"
        android:layout_width="80dp"
        android:layout_height="33dp"
        android:layout_marginTop="3dp"
        android:layout_marginLeft="2dp"
        android:layout_alignParentLeft="true"        
        android:src="@drawable/messages"
        android:scaleType="fitStart" /&gt; --&gt;
        &lt;TextView 
            android:id="@+id/btnBck"
        android:layout_width="80dp"
        android:layout_height="33dp"
        android:layout_marginTop="3dp"
        android:layout_marginLeft="2dp"
        android:layout_alignParentLeft="true"        
        android:background="@drawable/messages"
        android:scaleType="fitStart"
            /&gt;

&lt;TextView
        android:id="@+id/usr_name"
        style="?customTitle"
        android:layout_width="wrap_content"
        android:layout_height="32dp"
        android:layout_alignParentTop="true"
        android:layout_centerHorizontal="true"


       /&gt;

    &lt;!-- &lt;ImageView
        android:id="@+id/btnUserInfo"
        android:layout_width="65dp"
        android:layout_height="33dp"
        android:layout_alignParentRight="true"
        android:layout_alignParentTop="true"
        android:src="@drawable/userinfo" /&gt; --&gt;

         &lt;TextView 
            android:id="@+id/btnUserInfo"
        android:layout_width="80dp"
        android:layout_height="33dp"
        android:layout_alignParentRight="true"
        android:layout_alignParentTop="true"      
         android:layout_marginTop="3dp" 
        android:background="@drawable/userinfo"
        android:scaleType="fitStart"
            /&gt;

&lt;/RelativeLayout&gt;


 &lt;ListView
      android:id="@android:id/android:list"
        style="@style/blackContainer"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:layout_below="@id/titleArea2"
        android:layout_marginTop="5dp"
        android:layout_marginBottom="2dp" &gt;
    &lt;/ListView&gt;



&lt;/RelativeLayout&gt;`
</code></pre>

<p>and customisedlayout is `</p>

<pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
&lt;RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="fill_parent"
    android:layout_height="fill_parent"
    android:orientation="vertical" &gt;

    &lt;TextView
            android:id="@+id/lblmessage2"
            android:layout_width="fill_parent"
            android:layout_height="200dp"
            android:autoLink="web"
            /&gt;

    &lt;/RelativeLayout&gt;`
</code></pre>

<p>And Adapter is`</p>

<pre><code>package com.gabriel.utility;
import java.util.ArrayList;

import android.content.Context;
import android.content.Intent;
import android.view.LayoutInflater;
import android.view.View;
import android.view.View.OnClickListener;
import android.view.ViewGroup;
import android.widget.ArrayAdapter;
import android.widget.ImageButton;
import android.widget.ImageView;
import android.widget.TextView;

import com.gabriel.activity.ContactInfoActivity;
import com.gabriel.activity.GabrielApplication;
import com.gabriel.activity.R;
import com.gabriel.database.WebMessageCore;

public class WebMesssageItemadapter extends ArrayAdapter&lt;WebMessageCore&gt; implements
        OnClickListener {



    Context _Context;
    ArrayList&lt;WebMessageCore&gt; _WebMsgList;
    WebMessageCore _WebMsgCore;
    private LayoutInflater mInflater;

    GabrielApplication application;


    public WebMesssageItemadapter(Context context, int resource,
            ArrayList&lt;WebMessageCore&gt; contactList) {

        super(context, resource, contactList);
        _Context = context;
        _WebMsgList = contactList;
        mInflater = LayoutInflater.from(context);
    }

    public int getCount() {
        return _WebMsgList.size();
    }

    public WebMessageCore getItem(int position) {
        return _WebMsgList.get(position);
    }

    public long getItemId(int position) {
        return position;
    }

    @Override
    public View getView(int position, View convertView, ViewGroup parent) {
        ViewHolder holder;
        if (convertView == null) {
            convertView = mInflater.inflate(R.layout.custom_row_2, null);
            holder = new ViewHolder();
            holder.txtMessage = (TextView) convertView.findViewById(R.id.lblmessage2);
            convertView.setTag(holder);
        } else {
            holder = (ViewHolder) convertView.getTag();
        }

        _WebMsgCore = _WebMsgList.get(position);
        holder.txtMessage.setText(_WebMsgCore.getMessage());

        return convertView;
    }

    static class ViewHolder {

        TextView txtMessage;


    }

    @Override
    public void onClick(View arg0) {
        // TODO Auto-generated method stub

    }
}`
</code></pre>

<p>when i run this code i cant see any listview.thanks in advance. </p>
