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();
        }
Exemple #2
0
        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;
            }
        }
Exemple #3
0
 public SuggestionsFilter(SampleProcessListAdapter adapter)
     : base()
 {
     customAdapter = adapter;
 }