Example #1
0
        public void LoadDocument()
        {
            InterViewerService DocumentManager = new InterViewerService(new IOService());

            DocumentList = DocumentManager.GetDocumentsOrderBy(CenterLocation.Latitude, CenterLocation.Longitude);

            if (source != null)
            {
                source.UpdateData(DocumentList);

                CollectionView.ReloadData();
            }
        }
Example #2
0
        public void LoadDocument()
        {
            InterViewerService DocumentManager = new InterViewerService(new IOService());

            if (null != CenterLocation)
            {
                DocumentList = DocumentManager.GetDocumentsOrderBy(CenterLocation.Latitude, CenterLocation.Longitude);
            }
            else
            {
                DocumentList = DocumentManager.GetDocuments();
            }

            if (customAdapter != null)
            {
                customAdapter.UpdateData(DocumentList);

                customAdapter.NotifyDataSetChanged();
            }
        }