add Item to custom ListView with custom custom Adapter

view story

http://stackoverflow.com – I have a custom Adapter (ArrayAdapter) and i want to add items dynamically in Code. My ArrayAdapter looks like this: import android.app.Activity; import android.content.Context; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.ArrayAdapter; import android.widget.TextView; public class ChatList extends ArrayAdapter<ChatListItem> { Context context; int layoutResourceId; ChatListItem data[] = null; public ChatList(Context context, int layoutResourceId, ChatListItem[] data) { super(context, layoutResourceId, data); (HowTos)