@Override protected void onPostExecute(Bitmap drawable) { // TODO Auto-generated method stub super.onPostExecute(drawable); TextView news_title = (TextView) item_layout.findViewById(R.id.fragment_news_title_textview); TextView news_org = (TextView) item_layout.findViewById(R.id.fragment_news_org_textview); TextView news_time = (TextView) item_layout.findViewById(R.id.fragment_news_date_textview); TextView news_content = (TextView) item_layout.findViewById(R.id.fragment_news_content_textview); TextView zan_count = (TextView) item_layout.findViewById(R.id.fragment_news_zan_count_textview); TextView comment_count = (TextView) item_layout.findViewById(R.id.fragment_news_comment_count_textview); TextView share_count = (TextView) item_layout.findViewById(R.id.fragment_news_share_count_textview); TextView collect_count = (TextView) item_layout.findViewById(R.id.fragment_news_collect_count_textview); news_title.setText(t_interaction_news.getNews_title()); news_org.setText(t_interaction_news.getNews_org_name()); news_time.setText(t_interaction_news.getPublish_time()); String content_str = ""; if (t_interaction_news.getNews_content() != null && t_interaction_news.getNews_content().length() > 0) { if (t_interaction_news.getNews_content().length() > 23) { content_str = t_interaction_news.getNews_content().substring(0, 20) + "..."; } else { content_str = t_interaction_news.getNews_content(); } } news_content.setText(content_str); zan_count.setText(t_interaction_news.getPraise_count()); comment_count.setText(t_interaction_news.getComment_count()); share_count.setText(t_interaction_news.getShare_count()); collect_count.setText(t_interaction_news.getCollect_count()); }