@Override public void refresh() { super.refresh(); ProjectTable baseItem = (ProjectTable) getData(); String img = baseItem.getData("img"); String title = baseItem.getData("title"); String total_money_support = baseItem.getData("supported"); String total_date = baseItem.getData("total_date"); String percent = baseItem.getData("percent"); ImageLoaderUtils.getInstance(getContext()) .DisplayImage(img, (ImageView) findViewById(R.id.v3home_sesion2_item_img), null); setText(title, R.id.v3home_sesion2_item_img_txt); }
@Override public void onClick(View v) { ProjectTable baseItem = ((ProjectTable) getData()); String id = baseItem.getData("id"); BaseTabActivity.senBroadCastHeaderMenu(getContext(), "projectdetail", Integer.parseInt(id)); }