Exemple #1
0
        public void OnUpdateLastPublicActivity()
        {
            var LastPublicActivity = Domain.GetLastPublicActivity(User);

            CircleGraph.LastPublicActivity   = LastPublicActivity;
            LastActivityStampLabel.Text      = Domain.ToString(LastPublicActivity);
            LastActivityStampLabel.TextColor = Color.Default;
        }
Exemple #2
0
        public void OnUpdateLastPublicActivity()
        {
            var LastPublicActivity = Domain.GetLastPublicActivity(User);

            CircleGraph.LastPublicActivity   = LastPublicActivity;
            LastActivityStampLabel.Text      = Domain.ToString(LastPublicActivity);
            LastActivityStampLabel.TextColor = Theme.ForegroundColor;
        }
Exemple #3
0
 public void InitCircleGraph(AlphaUserCircleGraph i, string User)
 {
     //i.BackgroundColor = Color.White;
     i.IsDoughnut = true;
     i.Now        = DateTime.Now;
     i.User       = User;
     i.GestureRecognizers.Clear();
     i.LastPublicActivity = default(DateTime);
     if (!string.IsNullOrWhiteSpace(User))
     {
         i.LastPublicActivity = Domain.GetLastPublicActivity(User);
         i.GestureRecognizers
         .Add
         (
             new TapGestureRecognizer()
         {
             Command = new Command(o => AlphaFactory.MakeSureApp().ShowDetailPage(User)),
         }
         );
     }
 }
Exemple #4
0
 protected override void OnResume()
 {
     Domain.UpdateAlerts(Domain.GetLastPublicActivity(Settings.UserName));
 }