@@ -0,0 +1,18 @@ |
||
1 |
+package ai.pai.lensman.main; |
|
2 |
+ |
|
3 |
+ |
|
4 |
+import ai.pai.lensman.base.BaseInteractor; |
|
5 |
+ |
|
6 |
+public class QueryBoxStatusInteractor implements BaseInteractor{ |
|
7 |
+ |
|
8 |
+ @Override |
|
9 |
+ public void startJob() { |
|
10 |
+ |
|
11 |
+ } |
|
12 |
+ |
|
13 |
+ @Override |
|
14 |
+ public void cancelJob() { |
|
15 |
+ |
|
16 |
+ } |
|
17 |
+ |
|
18 |
+} |
@@ -58,7 +58,7 @@ public class PrinterSettingActivity extends BaseActivity implements PrinterSetti |
||
58 | 58 |
@Override |
59 | 59 |
public void run() { |
60 | 60 |
try{ |
61 |
- qrCodeImg.setImageBitmap(QRCreateUtils.Create2DCode(qrcode, DeviceUtils.dip2px(PrinterSettingActivity.this,240))); |
|
61 |
+ qrCodeImg.setImageBitmap(QRCreateUtils.Create2DCode("http://pai.ai/s/"+qrcode, DeviceUtils.dip2px(PrinterSettingActivity.this,240))); |
|
62 | 62 |
}catch (Exception e){ |
63 | 63 |
e.printStackTrace(); |
64 | 64 |
} |
@@ -30,7 +30,7 @@ public class SessionActivity extends BaseActivity implements SessionContract.Vie |
||
30 | 30 |
@BindView(R.id.icon_no_data) View noPhotoLayout; |
31 | 31 |
@BindView(R.id.title_bar_middle_txt) TextView titleTextView; |
32 | 32 |
@BindView(R.id.recycler_view_photos) RecyclerView photosRecyclerView; |
33 |
- @BindView(R.id.iv_qrcode) ImageView qrcodeScanBtn; |
|
33 |
+ @BindView(R.id.iv_scan) ImageView qrcodeScanBtn; |
|
34 | 34 |
private PhotoRecyclerAdapter adapter; |
35 | 35 |
private SessionBean sessionBean; |
36 | 36 |
private SessionContract.Presenter presenter; |