title: Change MaterialBarcodeScanner scanner result
body: <p>Below is one of the existing <code>MaterialBarcodeScanner</code> library.</p>
  
  <p><code>MaterialBarcodeScanner</code>: Easy to use barcode reader for your Android Project (Uses Google Mobile Vision API).</p>
  
  <p>1) Provide gradle dependency</p>
  
  <pre><code>compile 'com.edwardvanraak:MaterialBarcodeScanner:0.0.6-ALPHA'
  </code></pre>
  
  <p>2) Build a <code>MaterialBarcodeScanner</code></p>
  
  <pre><code>private void startScan() {
      /**
       * Build a new MaterialBarcodeScanner
       */
      final MaterialBarcodeScanner mBarcodeScanner 
               = new MaterialBarcodeScannerBuilder()
              .withActivity(MainActivity.this)
              .withEnableAutoFocus(true)
              .withBleepEnabled(true)
              .withBackfacingCamera()
              .withText("Scanning...")
              .withResultListener(new MaterialBarcodeScanner.OnResultListener() {
                  @Override
                  public void onResult(Barcode barcode) {
                      barcodeResult = barcode;
                      result.setText(barcode.rawValue);
                  }
              })
              .build();
      mBarcodeScanner.startScan();
  }
  </code></pre>
  
  <p>3) Hook it up to a button</p>
  
  <pre><code>fab.setOnClickListener(new View.OnClickListener() {
  @Override
  public void onClick(View view) {
   startScan();
  }
  });
  </code></pre>
  
  <ul>
  <li>I already integrated this code as a module library but how can I change the result of this method programmatically -> public void onResult(Barcode barcode)?</li>
  </ul>
  
  <p>Thank you!</p>