Exemplo n.º 1
0
        public void loadNewActivity()
        {
            if (this.GetType() == typeof(SplashAuthVideo))
            {
                if (Username != null)
                {
                    SplashAuthVideo s = (SplashAuthVideo)this;
                    s.StartActivity(new Intent(this.ApplicationContext, typeof(SessionActivity)));
                }
            }

            loadComponentsInit();
        }
Exemplo n.º 2
0
 public void Xmpp_OnConnected(object sender, EventArgs e)
 {
     if (appPreferences.isFisrtAcess(AppPreferences.FIRST_ACCESS))
     {
         this.App.Xmpp.ListGroup();
     }
     if (context.GetType() == typeof(SplashAuthVideo))
     {
         loginGroups();
         SplashAuthVideo sp = (SplashAuthVideo)context;
         sp.Xmpp_OnConnected(sender, e);
     }
     else if (context.GetType() == typeof(LoginActivity))
     {
         LoginActivity lg = (LoginActivity)context;
         lg.Xmpp_OnConnected(sender, e);
     }
     else if (context.GetType() == typeof(SessionActivity))
     {
         loginGroups();
     }
 }