Пример #1
0
 /** xujun 20120908 显示图片 */
 private void showPic(Status status) {
   if (status == null) return;
   String url = "";
   String picType = "";
   if (status.getOriginalPic() != null) {
     url = status.getOriginalPic();
     picType = "ori";
     Log("showPic ori");
   } else if (status.getBmiddlePic() != null) {
     url = status.getBmiddlePic();
     picType = "mid";
     Log("showPic mid");
   } else if (status.getThumbnailPic() != null) {
     url = status.getThumbnailPic();
     picType = "thumb";
     Log("showPic thumb");
   } else {
     Log("no pic url");
     return;
   }
   Sina.getInstance()
       .showImageViewZoom(WeiboDetail.this, Long.parseLong(status.getId()), url, picType);
 }