//------------------------------------------------------------------------------
// <auto-generated>
//     This code was generated by a tool.
//     Runtime Version:4.0.30319.42000
//
//     Changes to this file may cause incorrect behavior and will be lost if
//     the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------

[assembly: Android.Runtime.ResourceDesignerAttribute("__embeddinator__.Resource", IsApplication=true)]

namespace @__embeddinator__ {
    using Android.Runtime;
    
    
    [System.CodeDom.Compiler.GeneratedCodeAttribute("Xamarin.Android.Build.Tasks", "1.0.0.0")]
    public class Resource {
        
        private static int ReadFieldInt(System.IntPtr R, string fieldName) {
            System.IntPtr fieldId;
            fieldId = JNIEnv.GetStaticFieldID(R, fieldName, "I");
            return JNIEnv.GetStaticIntField(R, fieldId);
        }
        
        private static int[] ReadFieldArray(System.IntPtr R, string fieldName) {
            System.IntPtr fieldId;
            System.IntPtr value;
            fieldId = JNIEnv.GetStaticFieldID(R, fieldName, "[I");
            value = JNIEnv.GetStaticObjectField(R, fieldId);
            return JNIEnv.GetArray<int>(value);
        }
        
        public static void UpdateIdValues() {
            System.IntPtr R;
            R = JNIEnv.FindClass("com.mono.embeddinator.R$string");
            managedandroid.Resource.String.THIS_IS_CAPS = ReadFieldInt(R, "THIS_IS_CAPS");
            managedandroid.Resource.String.applicationName = ReadFieldInt(R, "applicationName");
            managedandroid.Resource.String.hello = ReadFieldInt(R, "hello");
        }
    }
}
