EdwardvanRaak / MaterialBarcodeScanner

Easy to use barcode reader for your Android Project (Uses Google Mobile Vision API)
Apache License 2.0
272 stars 113 forks source link

Multiple scan in a fragment #51

Open freebumba27 opened 6 years ago

freebumba27 commented 6 years ago

When try to open the scanner from a fragment 1st scan is ok but next scan onward getting -

java.lang.NullPointerException: Attempt to invoke virtual method 'void com.google.android.gms.vision.Detector.receiveFrame(com.google.android.gms.vision.Frame)' on a null object reference