Ejemplo n.º 1
0
        private void AddEmptySpacingItem()
        {
            LeaderboardRowFacebookView leaderboardRowFacebookView = new LeaderboardRowFacebookView(this, this.gridLoadHelper.GetGrid(), this.fbItemTemplate, this.curTab);

            leaderboardRowFacebookView.Hide();
            this.rowViews.Add(leaderboardRowFacebookView);
            UXElement item = leaderboardRowFacebookView.GetItem();

            this.gridLoadHelper.AddElement(item);
        }
 protected void AddFBConnectItem(SocialTabs socialTab)
 {
     if (Service.Get <EnvironmentController>().IsRestrictedProfile())
     {
         return;
     }
     if (this.facebookRow != null)
     {
         return;
     }
     this.facebookRow = new LeaderboardRowFacebookView(this, this.gridLoadHelper.GetGrid(), this.fbItemTemplate, this.curTab);
     this.rowViews.Add(this.facebookRow);
     this.gridLoadHelper.AddElement(this.facebookRow.GetItem());
     this.RepositionGridItems();
     this.scrollView.ResetPosition();
 }
Ejemplo n.º 3
0
 protected void ResetGrid()
 {
     this.CleanupRowViews();
     this.facebookRow = null;
     this.gridLoadHelper.ResetGrid();
 }