public void navigateToScannerActivity(@NonNull final Context context, final boolean withProvisioningService) {
        final Intent intent = new Intent(context, ScannerActivity.class);
        intent.putExtra(Utils.EXTRA_DATA_PROVISIONING_SERVICE, withProvisioningService);
        context.startActivity(intent);
    }
Navigate to scanner activity

@param context                 Activity context
@param withProvisioningService Scan with provisioning service
app/src/main/java/no/nordicsemi/android/nrfmesh/viewmodels/BaseViewModel.java