Don't show delete action buttons in multi-select mode
This commit is contained in:
parent
6361ba35b3
commit
ebb0c45744
@ -273,9 +273,11 @@ public class CompletedDownloadsFragment extends Fragment implements
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void afterBindViewHolder(EpisodeItemViewHolder holder, int pos) {
|
public void afterBindViewHolder(EpisodeItemViewHolder holder, int pos) {
|
||||||
|
if (!inActionMode()) {
|
||||||
DeleteActionButton actionButton = new DeleteActionButton(getItem(pos));
|
DeleteActionButton actionButton = new DeleteActionButton(getItem(pos));
|
||||||
actionButton.configure(holder.secondaryActionButton, holder.secondaryActionIcon, getActivity());
|
actionButton.configure(holder.secondaryActionButton, holder.secondaryActionIcon, getActivity());
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void onCreateContextMenu(ContextMenu menu, View v, ContextMenu.ContextMenuInfo menuInfo) {
|
public void onCreateContextMenu(ContextMenu menu, View v, ContextMenu.ContextMenuInfo menuInfo) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user