ListView 数据加载

public void refresh(Object... args) {
    // TODO Auto-generated method stub
    switch (((Integer) args[0]).intValue()) {
        case REFRESH_WEIBO:
            process.setVisibility(View.GONE);
            MyAdapter adapter = new MyAdapter(this, (List<status>) args[1]);
            lv.setAdapter(adapter);
            adapter.notifyDataSetChanged();
            break;
    }
}
</status>