Beispiel #1
0
        protected override void OnCreate(Bundle bundle)
        {
            base.OnCreate(bundle);
            SetContentView(Resource.Layout.Activity_Login);

            //View

            email         = FindViewById <EditText>(Resource.Id.textEmail);
            password      = FindViewById <EditText>(Resource.Id.textPassword);
            AccountsApi   = Methods.GetService <IFirestoreProvider>();
            LocalProvider = Methods.GetService <ILocalProvider>();
        }
Beispiel #2
0
        protected override void OnCreate(Bundle savedInstanceState)
        {
            base.OnCreate(savedInstanceState);
            SetContentView(Resource.Layout.Activity_UserInfo);

            auth = FirebaseAuth.Instance;

            firstName = FindViewById <EditText>(Resource.Id.firstName);
            lastName  = FindViewById <EditText>(Resource.Id.lastName);
            country   = FindViewById <EditText>(Resource.Id.country);
            city      = FindViewById <EditText>(Resource.Id.city);
            birthDate = FindViewById <TextView>(Resource.Id.birthDate);

            AccountsApi   = Methods.GetService <IFirestoreProvider>();
            LocalProvider = Methods.GetService <ILocalProvider>();
        }
Beispiel #3
0
        protected override void OnCreate(Bundle savedInstanceState)
        {
            base.OnCreate(savedInstanceState);
            SetContentView(Resource.Layout.Activity_EditUserProgile);
            // Create your application here

            firstName    = FindViewById <EditText>(Resource.Id.firstName);
            lastName     = FindViewById <EditText>(Resource.Id.lastName);
            country      = FindViewById <EditText>(Resource.Id.country);
            city         = FindViewById <EditText>(Resource.Id.city);
            birthDate    = FindViewById <TextView>(Resource.Id.birthDate);
            linearLayout = FindViewById <LinearLayout>(Resource.Id.userEditProfile);


            AccountsApi   = Methods.GetService <IFirestoreProvider>();
            LocalProvider = Methods.GetService <ILocalProvider>();
            GetUser();
        }