Use batch updates to mark items as read/unread instead of individual
updating database. This makes the 'Mark all as read' action from
MyCoursesFragment near instantaneous when you everything in every
course as unread.
Also refactored 'markModuleAsReadOrUnread' method.
Use batch updates to mark items as read/unread instead of individual updating database. This makes the 'Mark all as read' action from MyCoursesFragment near instantaneous when you everything in every course as unread.
Also refactored 'markModuleAsReadOrUnread' method.