Commit 1e30d455 by pye52

适配QRCodeState的修改

parent b1ef79bd
......@@ -120,7 +120,7 @@ public class QRCodeCameraViewModel extends ViewModel implements OnCaptureCallbac
LogUtils.e(TAG, "指令插入到数据库失败: " + newPay.toString());
}
LogUtils.d(TAG, "扫描结果: " + newPay.toString());
qrCodeState.postValue(new QRCodeState(QRCodeState.SUCCESS, newPay));
qrCodeState.postValue(new QRCodeState(QRCodeState.SUCCESS, newPay, newPay.getPayCode()));
}
private void againDelay() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment