Exemple #1
0
        public void InitializeList(MyGamesViewModel.ListType gameType)
        {
            this.listType = gameType;

            rootElement.Caption = "Game type is " + this.listType.ToString();
            rootElement.Caption = "WOOOOOOO";
        }
Exemple #2
0
 public AndroidGameListAdapter(Activity context, MyGamesViewModel model, MyGamesViewModel.ListType listType)         // , ActionMode.ICallback contextMenuCallback)
 {
     this.context  = context;
     this.listType = listType;
     this.model    = model;
     this.games    = model.GetMyGames(listType);
 }
Exemple #3
0
        private void OnSeeAllSelected(object sender, MyGamesViewModel.ListType e)
        {
            var adapter = (e == MyGamesViewModel.ListType.COMPLETED) ? this.completedAdapter : this.theirGamesAdapter;

            adapter.SetMaxItems(int.MaxValue);

            var listView = (e == MyGamesViewModel.ListType.COMPLETED) ? this.completedList : this.theirMoveList;

            Utility.SetListViewHeightBasedOnChildren2(listView);
        }