getModel method
- 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;
}
NotificationModel getModel(int index) {
for (int i = 0; i < notificationList.length; ++i)
if (notificationList[i].note == notesList[index].id)
return notificationList[i];
return null;
}