Disable drag and drop when list is sorted

This commit is contained in:
Michael Schättgen 2019-03-31 21:28:37 +02:00
parent ecdadf5335
commit b9d011b48e

View file

@ -95,6 +95,8 @@ public class EntryListView extends Fragment implements EntryAdapter.Listener {
}
public void setSortCategory(SortCategory sortCategory) {
_touchCallback.setIsLongPressDragEnabled(sortCategory == SortCategory.CUSTOM);
_adapter.setSortCategory(sortCategory);
runLayoutAnimation(_rvKeyProfiles);
}