getModel method

NotificationModel getModel (
  1. int index
)

Implementation

NotificationModel getModel(int index) {
  for (int i = 0; i < notificationList.length; ++i)
    if (notificationList[i].note == notesList[index].id)
      return notificationList[i];

  return null;
}