package com.tencent.mm.plugin.story.ui.album;

import a.f.a.b;
import a.f.b.j;
import a.l;
import android.view.View;
import android.view.View.OnClickListener;
import com.tencent.matrix.trace.core.AppMethodBeat;
import com.tencent.mm.plugin.story.ui.album.StoryFavoritePanel.d;

@l(dWo = {1, 1, 13}, dWp = {"\u0000\u0010\n\u0000\n\u0002\u0010\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0002\u0010\u0000\u001a\u00020\u00012\u000e\u0010\u0002\u001a\n \u0004*\u0004\u0018\u00010\u00030\u0003H\n¢\u0006\u0002\b\u0005"}, dWq = {"<anonymous>", "", "it", "Landroid/view/View;", "kotlin.jvm.PlatformType", "onClick"})
final class StoryFavoritePanel$d$a implements OnClickListener {
    final /* synthetic */ int exi;
    final /* synthetic */ d sgZ;

    StoryFavoritePanel$d$a(d dVar, int i) {
        this.sgZ = dVar;
        this.exi = i;
    }

    public final void onClick(View view) {
        AppMethodBeat.i(110198);
        b mOnAddItemClickListener = this.sgZ.sgY.getMOnAddItemClickListener();
        if (mOnAddItemClickListener != null) {
            Object obj = StoryFavoritePanel.c(this.sgZ.sgY).get(this.exi);
            j.o(obj, "mDatas[position]");
            mOnAddItemClickListener.am(obj);
            AppMethodBeat.o(110198);
            return;
        }
        AppMethodBeat.o(110198);
    }
}
