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) { } }
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) { } }