public void onAttachedToRecyclerView(@NonNull RecyclerView recyclerView) {
super.onAttachedToRecyclerView(recyclerView);
this.recyclerView = recyclerView;
- rearrangeHelper.attachToRecyclerView(recyclerView);
+ if (editingProfiles) rearrangeHelper.attachToRecyclerView(recyclerView);
}
public boolean editingProfiles() {
return this.editingProfiles;
final boolean sameProfile = currentProfile.equals(profile);
holder.itemView.setAlpha(sameProfile ? 1 : 0.5f);
holder.itemView
- .setBackground(sameProfile ? new ColorDrawable(Colors.tableRowLightBG) : null);
+ .setBackground(sameProfile ? new ColorDrawable(Colors.tableRowDarkBG) : null);
if (editingProfiles) {
holder.mRearrangeHandle.setVisibility(View.VISIBLE);
holder.mEditButton.setVisibility(View.VISIBLE);