public override View OnCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState)
        {
            // Use this to return your custom view for this Fragment
            // return inflater.Inflate(Resource.Layout.YourFragment, container, false);

            base.OnCreateView(inflater, container, savedInstanceState);
            var view       = inflater.Inflate(Resource.Layout.listviewlayout, container, false);
            var titlelabel = view.FindViewById <TextView>(Resource.Id.txtlistlabel);

            titlelabel.Text = "Evaluation Years";

            var evalyear_list = view.FindViewById <ListView>(Resource.Id.dry_listview);

            _adapter = new EvaluationYearsList_Adapter(this.Activity, Vm.EvaluationYearsList);
            Vm.LoadEvaluationsYearsCommand.Execute(null);
            evalyear_list.Adapter = _adapter;



            //this.HasOptionsMenu = true;
            return(view);
        }
Exemplo n.º 2
0
 public Filter_EvaluationYearItemModel(EvaluationYearsList_Adapter adapter)
 {
     _adapter = adapter;
 }