public void OnUpdateLastPublicActivity() { var LastPublicActivity = Domain.GetLastPublicActivity(User); CircleGraph.LastPublicActivity = LastPublicActivity; LastActivityStampLabel.Text = Domain.ToString(LastPublicActivity); LastActivityStampLabel.TextColor = Color.Default; }
public void OnUpdateLastPublicActivity() { var LastPublicActivity = Domain.GetLastPublicActivity(User); CircleGraph.LastPublicActivity = LastPublicActivity; LastActivityStampLabel.Text = Domain.ToString(LastPublicActivity); LastActivityStampLabel.TextColor = Theme.ForegroundColor; }
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)), } ); } }
protected override void OnResume() { Domain.UpdateAlerts(Domain.GetLastPublicActivity(Settings.UserName)); }