Open mahendran92 opened 4 years ago
I'm having the same issue with 9319110de8927fb4771b928eaf795e43999d8529.
My guess is the following lines are the culprits because calling decode(BinaryBitmap)
cause the hints to be set to null.
If you use the default MultiFormatReader()
the setting of formats works correctly.
Is this the right way? But the below code isn't working.
Collection formats = Arrays.asList(BarcodeFormat.UPC_A);
barcodeViewNew.getBarcodeView().setDecoderFactory(new DefaultDecoderFactory(formats));
Thanks