Forum Xamarin.Android
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.

Store string on string.xml

Xammy10Xammy10 Member ✭✭✭

I want to save my shared preference on string.xml like this guy did,
but I don't know how package works on xamarin.

Thanks in advance :)

Best Answer

Answers

  • IkramAli.1030IkramAli.1030 USMember
    edited July 2018

    You can add Resources (.Resx) file inside your project which provide key value concept to set and get the value. Actually it is xml file.

  • Xammy10Xammy10 Member ✭✭✭

    @IkramAli.1030 said:
    You can add Resources (.Resx) file inside your project which provide key value concept to set and get the value. Actually it is xml file.

    So I can't store it inside the string.xml? Like the one on the turorial

  • Xammy10Xammy10 Member ✭✭✭

    @robbit

    Things are clear now sir, thanks for answering my question :)

Sign In or Register to comment.