Forum Xamarin Xamarin.Android

Include XML files in android class library

DeanChalk.1376DeanChalk.1376 GBMember, University

Hi All

I am creating and Android class library to use as part of a plugin, and I want to include in that library a number of XML files that I want to be able to load within code that exists in this library.

There doesn't seem to be any mechanism to do this. Asset.Open requires a Context which I don't have in a library.

How could this be done

Many thanks


Sign In or Register to comment.