得物.apk(点击下载) / CollocationPersonalActivity$initData$1.java


package com.shizhuang.duapp.modules.productv2.collocation.personal.ui;

import android.widget.TextView;
import co.c;
import com.meituan.robust.ChangeQuickRedirect;
import com.meituan.robust.PatchProxy;
import com.meizu.cloud.pushsdk.notification.model.AdvanceSetting;
import com.shizhuang.duapp.R;
import com.shizhuang.duapp.libs.duimageloaderview.DuImageLoaderView;
import com.shizhuang.duapp.libs.duimageloaderview.options.DuScaleType;
import com.shizhuang.duapp.modules.productv2.collocation.model.CollocationPopularUser;
import kotlin.Metadata;
import kotlin.Unit;
import kotlin.jvm.functions.Function1;
import kotlin.jvm.internal.Lambda;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;

@Metadata(bv = {1, 0, 3}, d1 = {"\u0000\u000e\n\u0000\n\u0002\u0010\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\u0010\u0000\u001a\u00020\u00012\u0006\u0010\u0002\u001a\u00020\u0003H\n¢\u0006\u0002\b\u0004"}, d2 = {"<anonymous>", "", AdvanceSetting.NETWORK_TYPE, "Lcom/shizhuang/duapp/modules/productv2/collocation/model/CollocationPopularUser;", "invoke"}, k = 3, mv = {1, 4, 2})
/* compiled from: CollocationPersonalActivity.kt */
public final class CollocationPersonalActivity$initData$1 extends Lambda implements Function1<CollocationPopularUser, Unit> {
    public static ChangeQuickRedirect changeQuickRedirect;
    public final /* synthetic */ CollocationPersonalActivity this$0;

    /* JADX INFO: super call moved to the top of the method (can break code semantics) */
    public CollocationPersonalActivity$initData$1(CollocationPersonalActivity collocationPersonalActivity) {
        super(1);
        this.this$0 = collocationPersonalActivity;
    }

    /* Return type fixed from 'java.lang.Object' to match base method */
    /* JADX DEBUG: Method arguments types fixed to match base method, original types: [java.lang.Object] */
    @Override // kotlin.jvm.functions.Function1
    public /* bridge */ /* synthetic */ Unit invoke(CollocationPopularUser collocationPopularUser) {
        invoke(collocationPopularUser);
        return Unit.INSTANCE;
    }

    public final void invoke(@NotNull CollocationPopularUser collocationPopularUser) {
        if (!PatchProxy.proxy(new Object[]{collocationPopularUser}, this, changeQuickRedirect, false, 291644, new Class[]{CollocationPopularUser.class}, Void.TYPE).isSupported) {
            ((c) ((c) ((DuImageLoaderView) this.this$0._$_findCachedViewById(R.id.ivUserBg)).i(collocationPopularUser.getAvatar()).t(new Function1<Throwable, Unit>(this) {
                /* class com.shizhuang.duapp.modules.productv2.collocation.personal.ui.CollocationPersonalActivity$initData$1.AnonymousClass1 */
                public static ChangeQuickRedirect changeQuickRedirect;
                public final /* synthetic */ CollocationPersonalActivity$initData$1 this$0;

                {
                    this.this$0 = r1;
                }

                /* Return type fixed from 'java.lang.Object' to match base method */
                /* JADX DEBUG: Method arguments types fixed to match base method, original types: [java.lang.Object] */
                @Override // kotlin.jvm.functions.Function1
                public /* bridge */ /* synthetic */ Unit invoke(Throwable th2) {
                    invoke(th2);
                    return Unit.INSTANCE;
                }

                public final void invoke(@Nullable Throwable th2) {
                    if (!PatchProxy.proxy(new Object[]{th2}, this, changeQuickRedirect, false, 291645, new Class[]{Throwable.class}, Void.TYPE).isSupported) {
                        ((c) ((DuImageLoaderView) this.this$0.this$0._$_findCachedViewById(R.id.ivUserBg)).i("\"https://apk.poizon.com/duApp/Android_Config/resource/mall/app/product/bg_mall_collocation_personal_head.png\"").p0(DuScaleType.CENTER_CROP).q(20)).d0(300).x();
                    }
                }
            })).p0(DuScaleType.CENTER_CROP).q(20)).d0(300).x();
            ((DuImageLoaderView) this.this$0._$_findCachedViewById(R.id.ivUserAvatar)).i(collocationPopularUser.getAvatar()).j0(this.this$0.getContext(), R.mipmap.ic_user_icon).b0(this.this$0.getContext(), Integer.valueOf((int) R.mipmap.ic_user_icon)).d0(300).o0(true).x();
            ((TextView) this.this$0._$_findCachedViewById(R.id.tvUserName)).setText(collocationPopularUser.getName());
        }
    }
}