package com.tencent.mm.plugin.sns.ui;

import com.tencent.matrix.trace.core.AppMethodBeat;
import com.tencent.mm.plugin.sns.ui.SnsMsgUI.a;
import com.tencent.mm.ui.base.MMSlideDelView;
import com.tencent.mm.ui.base.MMSlideDelView.d;

class SnsMsgUI$a$1 implements d {
    final /* synthetic */ a rug;

    SnsMsgUI$a$1(a aVar) {
        this.rug = aVar;
    }

    public final void a(MMSlideDelView mMSlideDelView, boolean z) {
        AppMethodBeat.i(39084);
        if (z) {
            nDv.add(mMSlideDelView);
            AppMethodBeat.o(39084);
            return;
        }
        nDv.remove(mMSlideDelView);
        AppMethodBeat.o(39084);
    }

    public final boolean bIo() {
        AppMethodBeat.i(39085);
        if (nDv.size() > 0) {
            AppMethodBeat.o(39085);
            return true;
        }
        AppMethodBeat.o(39085);
        return false;
    }

    public final void bIp() {
        AppMethodBeat.i(39086);
        for (MMSlideDelView mMSlideDelView : nDv) {
            if (mMSlideDelView != null) {
                mMSlideDelView.dzZ();
            }
        }
        nDv.clear();
        AppMethodBeat.o(39086);
    }

    public final void bIq() {
        AppMethodBeat.i(39087);
        for (MMSlideDelView mMSlideDelView : nDv) {
            if (mMSlideDelView != null) {
                mMSlideDelView.dzY();
            }
        }
        nDv.clear();
        AppMethodBeat.o(39087);
    }
}
