mirror of
https://github.com/lacerta-doc/Lacerta.git
synced 2024-11-22 16:03:15 +00:00
修正
This commit is contained in:
parent
3c75a04a5f
commit
b0a0682561
|
@ -58,7 +58,7 @@ public class ScannerManagerActivity extends AppCompatActivity {
|
|||
private ArrayList<Bitmap> croppedImages = new ArrayList<>();
|
||||
|
||||
private int maxPage = 0;
|
||||
private boolean singlePage = false;
|
||||
private boolean withOutLimit = false;
|
||||
|
||||
View view;
|
||||
|
||||
|
@ -86,7 +86,7 @@ public class ScannerManagerActivity extends AppCompatActivity {
|
|||
},
|
||||
null,
|
||||
null,
|
||||
singlePage ? 1 : maxPage
|
||||
withOutLimit ? null : maxPage
|
||||
);
|
||||
|
||||
@Override
|
||||
|
@ -121,7 +121,7 @@ public class ScannerManagerActivity extends AppCompatActivity {
|
|||
Bundle bundle = intent.getExtras();
|
||||
if (bundle != null) {
|
||||
this.maxPage = bundle.getInt("maxPage", 0);
|
||||
this.singlePage = bundle.getBoolean("singlePage", false);
|
||||
this.withOutLimit = bundle.getBoolean("withOutLimit", false);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user