protected override void OnCreate(Bundle savedInstanceState) { base.OnCreate(savedInstanceState); // Set our view from the "main" layout resource SetContentView(Resource.Layout.ResultSearch_Customer); mRecyclerViewService = FindViewById <RecyclerView>(Resource.Id.recyclerViewSearch_ResultSearch_Customer); mLayoutManagerService = new LinearLayoutManager(this); mRecyclerViewService.SetLayoutManager(mLayoutManagerService); mService_List = new Customer_ResultSearch_Result_ViewModel_List(); mAdapterService = new ResultSearch_Result_Customer_Adapter(mService_List); mRecyclerViewService.SetAdapter(mAdapterService); back = FindViewById <ImageView>(Resource.Id.imgback_ResultSearch_Customer); back.Click += back_Click; }
public ResultSearch_Result_Customer_Adapter(Customer_ResultSearch_Result_ViewModel_List Service_List) { //this.context = context; mService_List = Service_List; }