Merge pull request #5413 from ByteHamster/hide-multi-select
Multi-select fixes
This commit is contained in:
commit
5f90e0cdf2
|
@ -133,6 +133,7 @@ public class SubscriptionsRecyclerAdapter extends SelectableAdapter<Subscription
|
|||
MenuInflater inflater = mainActivityRef.get().getMenuInflater();
|
||||
inflater.inflate(R.menu.nav_feed_context, menu);
|
||||
menu.setHeaderTitle(selectedFeed.getTitle());
|
||||
menu.findItem(R.id.multi_select).setVisible(true);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -273,8 +273,10 @@ public class CompletedDownloadsFragment extends Fragment implements
|
|||
|
||||
@Override
|
||||
public void afterBindViewHolder(EpisodeItemViewHolder holder, int pos) {
|
||||
DeleteActionButton actionButton = new DeleteActionButton(getItem(pos));
|
||||
actionButton.configure(holder.secondaryActionButton, holder.secondaryActionIcon, getActivity());
|
||||
if (!inActionMode()) {
|
||||
DeleteActionButton actionButton = new DeleteActionButton(getItem(pos));
|
||||
actionButton.configure(holder.secondaryActionButton, holder.secondaryActionIcon, getActivity());
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
@ -24,5 +24,6 @@
|
|||
<item
|
||||
android:id="@+id/multi_select"
|
||||
android:menuCategory="container"
|
||||
android:title="@string/multi_select" />
|
||||
android:title="@string/multi_select"
|
||||
android:visible="false" />
|
||||
</menu>
|
||||
|
|
Loading…
Reference in New Issue