public void setListNotification(Notifications notification) { this.notifications = notification.getListNotification(); }
public NotificationAdapter(Context context, Notifications notifications) { inflater = LayoutInflater.from(context); this.notifications = notifications.getListNotification(); this.context = context; }