Forum Cross Platform with Xamarin
We are excited to announce that the Xamarin Forums are moving to the new Microsoft Q&A experience. Q&A is the home for technical questions and answers at across all products at Microsoft now including Xamarin!

We encourage you to head over to Microsoft Q&A for .NET for posting new questions and get involved today.

How to call a variable from .droid to .shared project in VS Xamarin?

This may be a very basic question but I'd like to ask if how can I output the variable from a .droid to a .shared project in VS Xamarin. Let's say I have a variable with value in a renderer from a .droid, then I'd like to call it from a .shared page. How can I do this?

ScannerPageRenderer.cs (From .droid)
try
{
var BarcodeText = result.text.ToString();
var BarcodeType = result.typeText.ToString();
}

Best Answers

  • jaYCee.1750jaYCee.1750 USMember ✭✭
    Accepted Answer

    Like, how am I to do that? Can you share with me a lines of codes?
    Please? And thank you in advance...

Answers

  • jaYCee.1750jaYCee.1750 USMember ✭✭
    Accepted Answer

    Like, how am I to do that? Can you share with me a lines of codes?
    Please? And thank you in advance...

Sign In or Register to comment.