Hide multi-select actions not applicable to the current selection #7157
Labels
Good first issue
Can be addressed without deep knowledge of the AntennaPod code. But exploring the code may be needed
Type: Feature request
Checklist
App version
develop
Where did you get the app from
Google Play
Problem you may be having, or feature you want
When starting multi-select, AntennaPod shows both "mark as played" and "mark as unplayed" even if all selected episodes are unplayed. This looks a bit weird. Especially if we want to use that menu even for single-select at some point.
Suggested solution
Hide the actions that are not relevant to the current selection
Screenshots / Drawings / Technical details
Note that the current selection might be very large, especially with lazy loading. When "select all" or "select all below" was pressed (see
SelectableAdapter.shouldSelectLazyLoadedItems
), we should show all actions. Maybe even when a large number of items is selected, so that we don't need to loop over a huge number of items checking their attributes.The text was updated successfully, but these errors were encountered: