Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions ZXing.Net.Mobile/Android/ZXingScannerFragment.android.cs
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,12 @@ public override View OnCreateView(LayoutInflater layoutInflater, ViewGroup viewG
Console.WriteLine("Create Surface View Failed: " + ex);
}

// Someone tried to call StartScanning before we were ready. Call it again.
if (scanCallback != null)
{
StartScanning(scanCallback, ScanningOptions);
}

Android.Util.Log.Debug(MobileBarcodeScanner.TAG, "ZXingScannerFragment->OnResume exit");

return frame;
Expand Down