Ejemplo n.º 1
0
        protected override void OnAppearing()
        {
            base.OnAppearing();
            var notifList           = Global.GetAllTopic();
            var currentMessageCount = notifList.Where(e => e.Value == "new_message").Count();

            if (currentMessageCount <= 0)
            {
                RewardLevelFooter.BadgeVisibility = 0;
            }
            else
            {
                RewardLevelFooter.BadgeVisibility   = 1;
                RewardLevelFooter.BadgeCountMessage = currentMessageCount.ToString();
            }
            RewardLevelFooter.ActiveRewardLevel(true, _currentRank.Number);
            //RewardLevelFooter.SetRewardLevelIcon(_currentRank.Number);
        }
Ejemplo n.º 2
0
 protected override void OnDisappearing()
 {
     base.OnDisappearing();
     RewardLevelFooter.ActiveRewardLevel(false, _currentRank.Number);
 }