public void InitializeList(MyGamesViewModel.ListType gameType) { this.listType = gameType; rootElement.Caption = "Game type is " + this.listType.ToString(); rootElement.Caption = "WOOOOOOO"; }
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); }
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); }