Skip to content

Commit 7970e8d

Browse files
committed
Convert ProductResolver to kotlin and make it possible to use it without a chooser
The show() method was deprecated and replaced by resolve() since it is possible now to use the resolver without visible interaction.
1 parent 58e11c2 commit 7970e8d

File tree

3 files changed

+438
-505
lines changed

3 files changed

+438
-505
lines changed

sample/src/main/java/io/snabble/testapp/BaseActivity.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ public boolean dispatchKeyEvent(KeyEvent event) {
7878
new ProductResolver.Builder(this)
7979
.setCodes(ScannedCode.parse(SnabbleUI.getProject(), code))
8080
.create()
81-
.show();
81+
.resolve();
8282

8383
return true;
8484
}

0 commit comments

Comments
 (0)