コード例 #1
0
 @Override
 protected void addImage(Bitmap bitmap) {
   ReviewObject revob = getRevob();
   String imagePath =
       ImageUtils.save(bitmap, revob.getModelId() + "_" + revob.getImages().size(), getActivity());
   new Image(imagePath, false, revob).save();
 }
コード例 #2
0
 private ReviewObject getRevob() {
   return ReviewObject.getByModelId(ReviewObject.class, getArguments().getString(RELATED_ID));
 }