We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 150877b commit 4c6ca2cCopy full SHA for 4c6ca2c
app/src/main/java/ru/evotor/integrations/BarcodeBroadcastReceiver.kt
@@ -14,12 +14,13 @@ abstract class BarcodeBroadcastReceiver : BroadcastReceiver() {
14
override fun onReceive(context: Context?, intent: Intent?) {
15
intent?.extras?.getString(EXTRA_SCANNED_CODE)?.let { code ->
16
if (code.isNotEmpty()) {
17
- onReceiveBarcode(code)
+ onBarcodeReceived(code, context)
18
}
19
20
21
22
- public abstract fun onReceiveBarcode(barcode: String)
+ public abstract fun onBarcodeReceived(barcode: String, context: Context?)
23
+
24
25
companion object {
26
0 commit comments