private void RoomAdapter_ItemClick(object sender, int e) { if (isRoom[spinnerPosition[0]] != 0) { createRoomDialogFragment = new TextDialogFragment("UpdateRoomTitle", roomTitles[spinnerPosition[0]], CreateRoomDialogFragment_PositiveButtonIsClicked); createRoomDialogFragment.Show(FragmentManager, "createRoomDialogFragment"); } }
private void OnItemClick(object sender, int positon) { switch (positon) { case 0: createTaskDialogFragment = new TextDialogFragment(GetString(Resource.String.description_of_task_text), taskTitle, CreateTaskDialogFragment_PositiveButtonIsClicked); createTaskDialogFragment.Show(FragmentManager, "createRoomDialogFragment"); break; default: break; } }