@Override
 protected void onCreate(Bundle savedInstanceState) {
   super.onCreate(savedInstanceState);
   setContentView(R.layout.convenient_second_details);
   initViews();
   UserSecondHand secondHand = (UserSecondHand) getIntent().getSerializableExtra("goodsList");
   setValues(secondHand);
   // 根据图片显示是否要显示九宫格图片
   if ("".equals(secondHand.getGoodsImage()) || secondHand.getGoodsImage() == null) {
     mNineGridLayout.setVisibility(View.GONE);
   } else {
     mNineGridLayout.setVisibility(View.VISIBLE);
     initImages(secondHand.getGoodsImage().split(","));
   }
 }
 private void setValues(UserSecondHand secondHand) {
   mUserName.setText(secondHand.getUserName());
   mDeliveryDate.setText(secondHand.getDeliveryDate());
   if (secondHand.getFinished() == 0) {
     mStatusYes.setVisibility(View.VISIBLE);
     mStatusNo.setVisibility(View.GONE);
   } else {
     mStatusYes.setVisibility(View.GONE);
     mStatusNo.setVisibility(View.VISIBLE);
   }
   mContent.setText(secondHand.getContent());
   mContact.setText(secondHand.getContact());
   mContactInfo.setText(secondHand.getContactInfo());
 }