courses.set(courses.indexOf(event.getCourse()), event.getCourse());
}
}
updateView();
}
<BUG>@SuppressWarnings("unused")
public void onEventMainThread(EnrollEvent event) {
</BUG>
if (isMyCoursesFilter()) {
if (courses != null && !courses.contains(event.getCourse())) {

courses.set(courses.indexOf(event.getCourse()), event.getCourse());
}
}
updateView();
}
@SuppressWarnings("unused")
@Subscribe(threadMode = ThreadMode.MAIN)
public void onEnrollEvent(EnrollEvent event) {
if (isMyCoursesFilter()) {
if (courses != null && !courses.contains(event.getCourse())) {
