package com.bytedance.jedi.ext.adapter;

import X.0C7;
import X.0CB;
import X.0CH;
import X.0CL;
import com.bytedance.covode.number.Covode;

public class JediViewHolder_LifecycleAdapter implements 0C7 {
    public final JediViewHolder LIZ;

    static {
        Covode.recordClassIndex(34814);
    }

    public JediViewHolder_LifecycleAdapter(JediViewHolder jediViewHolder) {
        this.LIZ = jediViewHolder;
    }

    public final void LIZ(0CH r4, 0CB r5, boolean z, 0CL r7) {
        boolean z2;
        if (r7 != null) {
            z2 = true;
        } else {
            z2 = false;
        }
        if (!z) {
            if (r5 == 0CB.ON_CREATE) {
                if (!z2 || r7.LIZ("create$ext_adapter_release", 1)) {
                    this.LIZ.create$ext_adapter_release();
                }
            } else if (r5 == 0CB.ON_START) {
                if (!z2 || r7.LIZ("start$ext_adapter_release", 1)) {
                    this.LIZ.start$ext_adapter_release();
                }
            } else if (r5 == 0CB.ON_RESUME) {
                if (!z2 || r7.LIZ("resume$ext_adapter_release", 1)) {
                    this.LIZ.resume$ext_adapter_release();
                }
            } else if (r5 == 0CB.ON_PAUSE) {
                if (!z2 || r7.LIZ("pause$ext_adapter_release", 1)) {
                    this.LIZ.pause$ext_adapter_release();
                }
            } else if (r5 == 0CB.ON_STOP) {
                if (!z2 || r7.LIZ("stop$ext_adapter_release", 1)) {
                    this.LIZ.stop$ext_adapter_release();
                }
            } else if (r5 != 0CB.ON_DESTROY) {
            } else {
                if (!z2 || r7.LIZ("destroy$ext_adapter_release", 1)) {
                    this.LIZ.destroy$ext_adapter_release();
                }
            }
        }
    }
}
