package org.wikipedia.feed.view;

import android.content.Context;
import android.support.annotation.NonNull;
import android.support.annotation.Nullable;
import android.support.v7.widget.CardView;
import android.util.AttributeSet;

public class FeedCardView extends CardView {
    @Nullable private FeedViewCallback callback;

    public FeedCardView(Context context) {
        super(context);
    }

    public FeedCardView(Context context, AttributeSet attrs) {
        super(context, attrs);
    }

    public FeedCardView(Context context, AttributeSet attrs, int defStyleAttr) {
        super(context, attrs, defStyleAttr);
    }

    @NonNull public FeedCardView setCallback(@Nullable FeedViewCallback callback) {
        this.callback = callback;
        return this;
    }

    @Nullable protected FeedViewCallback getCallback() {
        return callback;
    }
}
@@ -192,42 +192,8 @@
 iew;
-%0Aimport android.util.AttributeSet;
 %0A%0Apu
@@ -363,242 +363,8 @@
  %7D%0A%0A
-    public FeedCardView(Context context, AttributeSet attrs) %7B%0A        super(context, attrs);%0A    %7D%0A%0A    public FeedCardView(Context context, AttributeSet attrs, int defStyleAttr) %7B%0A        super(context, attrs, defStyleAttr);%0A    %7D%0A%0A
     

remove unused constructors