Fix branch merge bug

This commit is contained in:
Clayton Wilson 2020-10-31 20:47:48 -04:00
parent 7cb7f5f468
commit fdb1ea6213

View File

@ -277,6 +277,13 @@ public class SearchResults extends AppCompatActivity implements SortDialogFragme
}); });
resultsProductListSorted.clear(); resultsProductListSorted.clear();
resultsProductListSorted.addAll(temp); resultsProductListSorted.addAll(temp);
runOnUiThread(new Runnable() {
@Override
public void run() {
searchResultsListAdapter.notifyDataSetChanged();
}
});
} }
// This is called after the search results come back from the server // This is called after the search results come back from the server
@ -321,8 +328,6 @@ public class SearchResults extends AppCompatActivity implements SortDialogFragme
runOnUiThread(new Runnable() { runOnUiThread(new Runnable() {
@Override @Override
public void run() { public void run() {
searchResultsListAdapter.notifyDataSetChanged();
// Hide progress bar // Hide progress bar
loadingSearch.setVisibility(View.GONE); loadingSearch.setVisibility(View.GONE);