package io.doist.recyclerviewext.click_listeners;

import android.view.View;

public class ClickableFocusableViewHolder extends ClickableViewHolder {
    public ClickableFocusableViewHolder(View itemView, OnItemClickListener onItemClickListener) {
        super(itemView, onItemClickListener, null);

        setFocusable(onItemClickListener, null);
    }

    public ClickableFocusableViewHolder(View itemView, OnItemClickListener onItemClickListener,
                                        OnItemLongClickListener onItemLongClickListener) {
        super(itemView, onItemClickListener, onItemLongClickListener);

        setFocusable(onItemClickListener, onItemLongClickListener);
    }

    private void setFocusable(OnItemClickListener onItemClickListener,
                              OnItemLongClickListener onItemLongClickListener) {
        itemView.setFocusable(onItemClickListener != null || onItemLongClickListener != null);
    }
}

@@ -241,37 +241,36 @@
 ener) %7B%0A        
-super
+this
 (itemView, onIte
@@ -295,58 +295,8 @@
 ll);
-%0A%0A        setFocusable(onItemClickListener, null);
 %0A   

Remove duplicated code