Skip to content
Snippets Groups Projects
Commit e82d3f59 authored by Muntashir Al-Islam's avatar Muntashir Al-Islam
Browse files

[Scanner] Prevent the class listing page from crashing while searching the list

parent 39aaa1a0
Branches
No related tags found
No related merge requests found
......@@ -263,7 +263,6 @@ public class ClassListingFragment extends Fragment implements AdvancedSearchView
@Override
protected void publishResults(CharSequence charSequence, FilterResults filterResults) {
synchronized (mAdapterList) {
mAdapterList.clear();
if (filterResults.values == null) {
AdapterUtils.notifyDataSetChanged(ClassListingAdapter.this, mAdapterList, mDefaultList);
} else {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment