@Override protected void buildListAdapter() { CommentListAdapter adapter = new CommentListAdapter(this, getDataList().getItemList(), getListView(), true, false); adapter.setTopTipBar(newMsgTipBar); timeLineAdapter = adapter; mPullToRefreshListView.setAdapter(timeLineAdapter); }
@Override protected void onPostExecute(Boolean aBoolean) { super.onPostExecute(aBoolean); if (aBoolean) { ((CommentListAdapter) timeLineAdapter).removeItem(positon); } }