Ejemplo n.º 1
0
        private void Button2_Click(object sender, EventArgs e)
        {
            task2 frm = new task2();

            Hide();
            frm.ShowDialog();
        }
Ejemplo n.º 2
0
        public override View OnCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState)
        {
            View view = inflater.Inflate(Resource.Layout.fragment2, container, false);

            main           = (Activity as MainActivity);
            mTask2         = new task2();
            mRecyclerView  = view.FindViewById <RecyclerView>(Resource.Id.rvTasks);
            mLayoutManager = new LinearLayoutManager(view.Context);
            mRecyclerView.SetLayoutManager(mLayoutManager);
            mTaskAdapter            = new TaskAdapter(mTask2, main);
            mTaskAdapter.itemClick += MAdapter_ItemClick;
            mRecyclerView.SetAdapter(mTaskAdapter);

            return(view);
        }
Ejemplo n.º 3
0
 WrapTask(task2, resultBag2)