package com.ifpdos.debugmenu.action.base;

import android.content.Context;
import c.l.n;
import d.f.a.j2.e.d;
import d.f.a.w0;

/* JADX INFO: loaded from: classes.dex */
public abstract class AbstractItemAction<VM> implements d.a<VM>, w0 {
    public String mClassName;
    public Context mContext;
    public VM mViewModel;
    public String mCustomConfig = "";
    public String tag = getClass().getSimpleName();

    public AbstractItemAction(Context context) {
        this.mClassName = "";
        this.mContext = context;
        this.mClassName = getClass().getSimpleName();
    }

    public boolean isExportable() {
        return true;
    }

    public void onAttachViewModel(n nVar, VM vm) {
        this.mViewModel = vm;
    }

    @Override // d.f.a.j2.e.d.a
    public abstract /* synthetic */ void onBind(Context context, VM vm);

    public void setCustomConfig(String str) {
        this.mCustomConfig = str;
    }
}
