Exemplo n.º 1
0
        public LoginViewModel()
        {
            VersaoApp = VersionTracking.CurrentVersion;

            PrimeiroAcesso = AcessoDAO.EhPrimeiroACesso();

            this.Usuario = Preferences.Get("key_ultimoUsuario", string.Empty);
        }
        protected override void OnAppearing()
        {
            base.OnAppearing();
            Task.Run(async() =>
            {
                await ViewAnimations.FadeAnimY(Foto);
                await ViewAnimations.FadeAnimY(Titulo);
                await ViewAnimations.FadeAnimY(stackLogin);
                await ViewAnimations.FadeAnimY(pancakeLogin);
                await ViewAnimations.FadeAnimY(btnLogin);
                await ViewAnimations.FadeAnimY(pancakeCadastro);
                await ViewAnimations.FadeAnimY(btnCadastro);
                await ViewAnimations.FadeAnimY(Icones);
            });

            _ViewModel.PrimeiroAcesso = AcessoDAO.EhPrimeiroACesso();
        }