How to update TextView from a separate class

I am writing an application for a barcode scanner. The code that runs the scanner is in a class. When a scan event occurs I need to pass the data
to a TextView on the MainActivity. Can't seem to find a means to update the UI from a class.

// Barcode scan event handler in ScanCode.cs
private static void MbarcodeReader_BarcodeDataReady(object sender, BarcodeDataArgs e)
// send to TextView.Text in MainActivity

Sign In or Register to comment.