有没有办法将新项目添加到这个数组中?
RowMsg RowMsg_data[] = new RowMsg[] {
new RowMsg(R.drawable.ic_launcher, "Message 1"),
new RowMsg(R.drawable.ic_launcher, "Message 2"),
new RowMsg(R.drawable.ic_launcher, "Message 3"),
new RowMsg(R.drawable.ic_launcher, "Message 4")
};
// here i want add next one element, for example: RowMsg(R.drawable.ic_launcher, "Message 5")