protected async override void OnStart() { base.OnStart(); var SampleRepo = new SampleRepository(); list = await SampleRepo.GetSampleRequisition(); adapter = new SampleProcessListAdapter(list, this); listView.Adapter = (adapter); adapter.NotifyDataSetChanged(); }
protected async override void OnStart() { base.OnStart(); var progressDialog = ProgressDialog.Show(this, null, "Please Wait.", true); InitializeEvent(); var SampleRepo = new SampleRepository(); list = await SampleRepo.GetSampleRequisition(); adapter = new SampleProcessListAdapter(list, this); listView.Adapter = (adapter); adapter.NotifyDataSetChanged(); progressDialog.Dismiss(); if (list.Count == 0) { tvMsg.Visibility = ViewStates.Visible; } else { tvMsg.Visibility = ViewStates.Gone; } }
public SuggestionsFilter(SampleProcessListAdapter adapter) : base() { customAdapter = adapter; }