Пример #1
0
        public void clearNotificationResult()
        {
            try{
                _progDlg.Dismiss();

                _notifyList.Clear();
                ListView listNotification = FindViewById <ListView>(Resource.Id.listNotifications);
                adapter = new NotificationAdapter(this, _notifyList);

                listNotification.Adapter = adapter;
            }
            catch (Exception e) {
            }
        }
Пример #2
0
        public void getNotificationResult(List <NotificationInfo> notifyList)
        {
            try{
                _progDlg.Dismiss();

                updateUserInfo();

                _notifyList = notifyList;

                ListView listNotification = FindViewById <ListView>(Resource.Id.listNotifications);
                adapter = new NotificationAdapter(this, _notifyList);

                listNotification.Adapter = adapter;
            }
            catch (Exception e) {
            }
        }