void Awake()
        {
            _instance = this;
            if (isMobileRuntime == false)
            {
                //Debug.LogWarning("Due to platform specific NativePicker was designed to run only on iOS/Android device. Plugin function call has no effect on other platforms.");
                return;
            }
#if UNITY_ANDROID
            _pluginObject = new AndroidJavaObject("ua.org.jeff.unity.nativepicker.AndroidPlugin");
#endif
        }
 public void OnDateSelected(long val)
 {
     Debug.Log("OnDateSelected " + val);
     if (mCaller.Equals("personalinfo"))
     {
         SelectedDateString2 = NativePicker.ConvertToDateTime(val).ToString("yyyy-MM-dd");
         Debug.Log("OnDateSelected personal info " + val + " " + SelectedDateString2);
         var mBirthDate            = ViewsEvents.Get.PersonalInfo.GetComponent <PersonelInfoController>().Birthdate;
         var mBirthDatePlaceHolder = ViewsEvents.Get.PersonalInfo.GetComponent <PersonelInfoController>().PlaceHolderAge;
         mBirthDatePlaceHolder.gameObject.SetActive(false);
         mBirthDate.text = SelectedDateString2;
         string[] attrib = { "birthdate" };
         string[] values = { mBirthDate.text };
         ViewsEvents.Get.PersonalInfo.GetComponent <PersonelInfoController>().UpdateAge(attrib, values);
     }
     else
     {
         SelectedDateString2 = NativePicker.ConvertToDateTime(val).ToString("yyyy-MM-dd");
         PopupManager.Get.PopupViewPresenter.PopupAgePlaceHolder.text           = SelectedDateString2;
         PopupManager.Get.PopupViewPresenter.PopupAgeconfirmButton.interactable = true;
     }
 }