Warkop v5.73.0版本的 MD5 值为:a4330ec2d6f5e146f59fc7622f3cdb45
以下内容为反编译后的 a.java 源代码,内容仅作参考
package oe;
import android.content.Context;
import android.graphics.drawable.Drawable;
import android.view.View;
import androidx.recyclerview.widget.RecyclerView;
import co.g0;
import com.inappstory.sdk.stories.api.models.Image;
import java.util.List;
import kotlin.Metadata;
import org.jetbrains.annotations.NotNull;
import qo.l;
@Metadata(d1 = {"\u0000L\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\u0010\b\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\u0010 \n\u0002\u0010\u0000\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\t\n\u0002\u0018\u0002\n\u0002\b\u0010\n\u0002\u0010\u000b\n\u0002\b\u000b\n\u0002\u0018\u0002\n\u0002\b\u0004\u0018\u0000*\u0004\b\u0000\u0010\u00012\u00020\u0002:\u0001\u0011B\u000f\u0012\u0006\u00106\u001a\u000205¢\u0006\u0004\b7\u00108J\u0012\u0010\u0005\u001a\u00020\u00032\b\b\u0001\u0010\u0004\u001a\u00020\u0003H\u0007J\u0010\u0010\u0007\u001a\u00020\u00062\b\b\u0001\u0010\u0004\u001a\u00020\u0003J \u0010\r\u001a\u00020\u000b2\u0018\u0010\f\u001a\u0014\u0012\n\u0012\b\u0012\u0004\u0012\u00020\n0\t\u0012\u0004\u0012\u00020\u000b0\bJ\u0014\u0010\u0010\u001a\u00020\u000b2\f\u0010\u000f\u001a\b\u0012\u0004\u0012\u00020\u000b0\u000eR\"\u0010\u0017\u001a\u00020\n8\u0000@\u0000X\u0080\u000e¢\u0006\u0012\n\u0004\b\u0011\u0010\u0012\u001a\u0004\b\u0013\u0010\u0014\"\u0004\b\u0015\u0010\u0016R\u0017\u0010\u001d\u001a\u00020\u00188\u0006¢\u0006\f\n\u0004\b\u0019\u0010\u001a\u001a\u0004\b\u001b\u0010\u001cRL\u0010#\u001a\u0016\u0012\n\u0012\b\u0012\u0004\u0012\u00020\n0\t\u0012\u0004\u0012\u00020\u000b\u0018\u00010\b2\u001a\u0010\u001e\u001a\u0016\u0012\n\u0012\b\u0012\u0004\u0012\u00020\n0\t\u0012\u0004\u0012\u00020\u000b\u0018\u00010\b8\u0000@BX\u0080\u000e¢\u0006\f\n\u0004\b\u001f\u0010 \u001a\u0004\b!\u0010\"R4\u0010(\u001a\n\u0012\u0004\u0012\u00020\u000b\u0018\u00010\u000e2\u000e\u0010\u001e\u001a\n\u0012\u0004\u0012\u00020\u000b\u0018\u00010\u000e8\u0000@BX\u0080\u000e¢\u0006\f\n\u0004\b$\u0010%\u001a\u0004\b&\u0010'R4\u0010,\u001a\n\u0012\u0004\u0012\u00020)\u0018\u00010\u000e2\u000e\u0010\u001e\u001a\n\u0012\u0004\u0012\u00020)\u0018\u00010\u000e8\u0000@BX\u0080\u000e¢\u0006\f\n\u0004\b*\u0010%\u001a\u0004\b+\u0010'R4\u0010/\u001a\n\u0012\u0004\u0012\u00020\u000b\u0018\u00010\u000e2\u000e\u0010\u001e\u001a\n\u0012\u0004\u0012\u00020\u000b\u0018\u00010\u000e8\u0000@BX\u0080\u000e¢\u0006\f\n\u0004\b-\u0010%\u001a\u0004\b.\u0010'R4\u00102\u001a\n\u0012\u0004\u0012\u00020\u000b\u0018\u00010\u000e2\u000e\u0010\u001e\u001a\n\u0012\u0004\u0012\u00020\u000b\u0018\u00010\u000e8\u0000@BX\u0080\u000e¢\u0006\f\n\u0004\b0\u0010%\u001a\u0004\b1\u0010'R\u0011\u00104\u001a\u00028\u00008F¢\u0006\u0006\u001a\u0004\b3\u0010\u0014¨\u00069"}, d2 = {"Loe/a;", "T", "Landroidx/recyclerview/widget/RecyclerView$e0;", "", "id", Image.TYPE_MEDIUM, "Landroid/graphics/drawable/Drawable;", "n", "Lkotlin/Function1;", "", "", "Lco/g0;", "bindingBlock", "l", "Lkotlin/Function0;", "block", "u", "a", "Ljava/lang/Object;", "get_item$kotlin_dsl_release", "()Ljava/lang/Object;", "v", "(Ljava/lang/Object;)V", "_item", "Landroid/content/Context;", "b", "Landroid/content/Context;", "getContext", "()Landroid/content/Context;", "context", "<set-?>", "c", "Lqo/l;", "p", "()Lqo/l;", "_bind", "d", "Lqo/a;", "t", "()Lqo/a;", "_onViewRecycled", "", "e", "q", "_onFailedToRecycleView", "f", "r", "_onViewAttachedToWindow", "g", Image.TYPE_SMALL, "_onViewDetachedFromWindow", "o", "item", "Landroid/view/View;", "view", "<init>", "(Landroid/view/View;)V", "kotlin-dsl_release"}, k = 1, mv = {1, 5, 1})
public final class a<T> extends RecyclerView.e0 {
@NotNull
private Object _item;
@NotNull
private final Context context;
private l<? super List<? extends Object>, g0> _bind;
private qo.a<g0> _onViewRecycled;
private qo.a<Boolean> _onFailedToRecycleView;
private qo.a<g0> _onViewAttachedToWindow;
private qo.a<g0> _onViewDetachedFromWindow;
@Metadata(d1 = {"\u0000\f\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\b\u0003\bÂ\u0002\u0018\u00002\u00020\u0001B\t\b\u0002¢\u0006\u0004\b\u0002\u0010\u0003¨\u0006\u0004"}, d2 = {"Loe/a$a;", "", "<init>", "()V", "kotlin-dsl_release"}, k = 1, mv = {1, 5, 1})
private static final class C3002a {
@NotNull
public static final C3002a f106163a = new C3002a();
private C3002a() {
}
}
public a(@NotNull View view) {
super(view);
this._item = C3002a.f106163a;
this.context = view.getContext();
}
@NotNull
public final Context getContext() {
return this.context;
}
public final void l(@NotNull l<? super List<? extends Object>, g0> lVar) {
if (this._bind == null) {
this._bind = lVar;
return;
}
throw new IllegalStateException("bind { ... } is already defined. Only one bind { ... } is allowed.");
}
public final int m(int id5) {
return this.context.getColor(id5);
}
@NotNull
public final Drawable n(int id5) {
return this.context.getDrawable(id5);
}
public final T o() {
T t15 = (T) this._item;
if (t15 != C3002a.f106163a) {
return t15;
}
throw new IllegalArgumentException("Item has not been set yet. That is an internal issue. Please report at https://github.com/sockeqwe/AdapterDelegates");
}
public final l<List<? extends Object>, g0> p() {
return this._bind;
}
public final qo.a<Boolean> q() {
return this._onFailedToRecycleView;
}
public final qo.a<g0> r() {
return this._onViewAttachedToWindow;
}
public final qo.a<g0> s() {
return this._onViewDetachedFromWindow;
}
public final qo.a<g0> t() {
return this._onViewRecycled;
}
public final void u(@NotNull qo.a<g0> aVar) {
if (this._onViewDetachedFromWindow == null) {
this._onViewDetachedFromWindow = aVar;
return;
}
throw new IllegalStateException("onViewDetachedFromWindow { ... } is already defined. Only one onViewDetachedFromWindow { ... } is allowed.");
}
public final void v(@NotNull Object obj) {
this._item = obj;
}
}