Пример #1
0
 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");
     }
 }
Пример #2
0
        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;
            }
        }