use of com.yydcdut.note.entity.SandExif in project PhotoNoter by yydcdut.
the class SandBoxTest method testSave.
public void testSave() {
SandPhoto sandPhoto = new SandPhoto(SandPhoto.ID_NULL, 1l, "0", 1, false, 1, "111", 11, ImageFormat.JPEG, new SandExif(0, "s", "ss", 0, 0, 0, 1, "1", "1"));
mRxSandBox.saveOne(sandPhoto).subscribe(new Subscriber<SandPhoto>() {
@Override
public void onCompleted() {
YLog.i("yuyidong", "onCompleted");
}
@Override
public void onError(Throwable e) {
YLog.i("yuyidong", "onError");
}
@Override
public void onNext(SandPhoto sandPhoto) {
YLog.i("yuyidong", sandPhoto.toString());
}
});
}
Aggregations