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.evallistviewlayout, container, false);

            // Create your fragment here
            var titlelabel = view.FindViewById <TextView>(Resource.Id.evaltxtlistlabel);

            titlelabel.Text = "Evaluations";

            var eval_list = view.FindViewById <ListView>(Resource.Id.dry_evalslistview);

            _adapter = new EvaluationsList_Adapter(this.Activity, Vm.EvaluationsList);
            Vm.LoadEvaluationsCommand.Execute(null);
            eval_list.Adapter             = _adapter;
            eval_list.OnItemClickListener = this;

            //this.HasOptionsMenu = true;
            return(view);
        }
Esempio n. 2
0
 public Filter_EvaluationItemModel(EvaluationsList_Adapter adapter)
 {
     _adapter = adapter;
 }