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.mysubscriptionslistviewlayout, container, false); var titlelabel = view.FindViewById <TextView>(Resource.Id.mysubscriptionslistlabel); titlelabel.Text = "My Subscriptions"; var mysub_list = view.FindViewById <ListView>(Resource.Id.mysubscriptions_listview); _adapter = new MySubscriptionsList_Adapter(this.Activity, Vm.MySubscriptionsList); Vm.LoadMySubscriptionsCommand.Execute(null); mysub_list.Adapter = _adapter; mysub_list.OnItemClickListener = this; return(view); }
public Filter_MySubscriptionItemModel(MySubscriptionsList_Adapter adapter) { _adapter = adapter; }