public void SetServers(List <ServerInfo> servers)
        {
            busyView.visible    = false;
            contentView.visible = true;

            contentView.RemoveViews();

            if (servers.Count > 0)
            {
                for (int i = 0; i < servers.Count; ++i)
                {
                    ServerInfo serverInfo = servers[i];
                    ServerView view       = new ServerView(serverInfo);
                    view.buttonDelegate = buttonDelegate;
                    view.id             = (int)ButtonId.Join;
                    view.data           = serverInfo;
                    contentView.AddView(view);
                }
            }
            else
            {
                Font font = Helper.fontButton;

                TextView text = new TextView(font, "No servers found.");
                text.alignX = text.alignY = View.ALIGN_CENTER;
                text.x      = 0.5f * contentView.width;
                text.y      = 0.5f * contentView.height;
                contentView.AddView(text);
            }
        }
        public void SetServers(List<ServerInfo> servers)
        {
            busyView.visible = false;
            contentView.visible = true;

            contentView.RemoveViews();

            if (servers.Count > 0)
            {
                for (int i = 0; i < servers.Count; ++i)
                {
                    ServerInfo serverInfo = servers[i];
                    ServerView view = new ServerView(serverInfo);
                    view.buttonDelegate = buttonDelegate;
                    view.id = (int)ButtonId.Join;
                    view.data = serverInfo;
                    contentView.AddView(view);
                }
            }
            else
            {
                Font font = Helper.fontButton;

                TextView text = new TextView(font, "No servers found.");
                text.alignX = text.alignY = View.ALIGN_CENTER;
                text.x = 0.5f * contentView.width;
                text.y = 0.5f * contentView.height;
                contentView.AddView(text);
            }
        }