得物.apk(点击下载) / MallMultiTrendFragment.java


package com.shizhuang.duapp.modules.du_trend_details.trend.fragment;

import android.annotation.SuppressLint;
import android.content.Context;
import android.graphics.Rect;
import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.view.ViewStub;
import android.widget.ImageView;
import androidx.annotation.Keep;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import androidx.constraintlayout.widget.ConstraintLayout;
import androidx.core.view.ViewKt;
import androidx.fragment.app.Fragment;
import androidx.recyclerview.widget.LinearLayoutManager;
import androidx.recyclerview.widget.RecyclerView;
import bu0.w;
import cd.l;
import com.knightboost.observability.extension.pagestartup.annotation.StartupTracePage;
import com.knightboost.weaver.api.Scope;
import com.knightboost.weaver.api.annotations.Insert;
import com.knightboost.weaver.api.annotations.TargetClass;
import com.meituan.robust.ChangeQuickRedirect;
import com.meituan.robust.PatchProxy;
import com.meituan.robust.PatchProxyResult;
import com.shizhuang.duapp.R;
import com.shizhuang.duapp.common.exposure.DuExposureHelper;
import com.shizhuang.duapp.common.extension.ViewExtensionKt;
import com.shizhuang.duapp.common.helper.loadmore.LoadMoreHelper;
import com.shizhuang.duapp.common.helper.net.facade.Transformer;
import com.shizhuang.duapp.libs.duimageloaderview.DuImageLoaderView;
import com.shizhuang.duapp.modules.du_community_common.helper.CommunityCommonDelegate;
import com.shizhuang.duapp.modules.du_community_common.model.CommunityFeedContentModel;
import com.shizhuang.duapp.modules.du_community_common.model.CommunityFeedModel;
import com.shizhuang.duapp.modules.du_community_common.model.CommunityListItemModel;
import com.shizhuang.duapp.modules.du_community_common.model.CommunityListModel;
import com.shizhuang.duapp.modules.du_community_common.model.trend.CommunityReplyItemModel;
import com.shizhuang.duapp.modules.du_community_common.widget.DullRecyclerView;
import com.shizhuang.duapp.modules.du_trend_details.trend.adapter.TrendDetailsImageViewHolder;
import com.shizhuang.duapp.modules.du_trend_details.trend.api.TrendDetailsApi;
import com.shizhuang.duapp.modules.du_trend_details.trend.api.TrendDetailsFacade;
import com.shizhuang.duapp.modules.du_trend_details.trend.helper.FeedDetailsHelper;
import com.shizhuang.duapp.modules.du_trend_details.trend.utils.FeedDetailsTrackUtil;
import com.shizhuang.duapp.modules.du_trend_details.trend.utils.FeedDetailsTrackUtil$gestureClick$1;
import df.b0;
import df.o0;
import io.reactivex.disposables.Disposable;
import java.lang.ref.SoftReference;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.Iterator;
import kotlin.Metadata;
import kotlin.TuplesKt;
import kotlin.collections.CollectionsKt__CollectionsKt;
import kotlin.jvm.internal.Intrinsics;
import org.jetbrains.annotations.NotNull;
import td.s;
import y20.g;
import y20.j;
import y90.m;
import y90.n;

@StartupTracePage(traceRealUserExperience = true)
@Metadata(bv = {}, d1 = {"\u0000\u0010\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0010\u0002\n\u0002\b\u0006\b\u0017\u0018\u00002\u00020\u0001:\u0001\u0007B\u0007¢\u0006\u0004\b\u0005\u0010\u0006J\b\u0010\u0003\u001a\u00020\u0002H\u0016J\b\u0010\u0004\u001a\u00020\u0002H\u0016¨\u0006\b"}, d2 = {"Lcom/shizhuang/duapp/modules/du_trend_details/trend/fragment/MallMultiTrendFragment;", "Lcom/shizhuang/duapp/modules/du_trend_details/trend/fragment/AbsMallTrendFragment;", "", "onResume", "onPause", "<init>", "()V", "a", "du_trend_details_release"}, k = 1, mv = {1, 4, 2})
/* compiled from: MallMultiTrendFragment.kt */
public class MallMultiTrendFragment extends AbsMallTrendFragment {
    public static ChangeQuickRedirect changeQuickRedirect;
    public Rect P = new Rect();
    public Rect Q = new Rect();
    public int[] R = new int[2];
    public boolean S;
    public Disposable T;
    public j U;
    public LoadMoreHelper V;
    public ar.b W;
    public String X = "";
    public String Y = "";
    public boolean Z;

    /* renamed from: a0  reason: collision with root package name */
    public a f14637a0;
    public Runnable b0 = new b(this);

    /* renamed from: c0  reason: collision with root package name */
    public final e f14638c0 = new e(this);

    /* renamed from: d0  reason: collision with root package name */
    public HashMap f14639d0;

    public class _boostWeave {
        public static ChangeQuickRedirect changeQuickRedirect;

        @TargetClass(scope = Scope.ALL_CHILDREN, value = "androidx.fragment.app.Fragment")
        @Insert(mayCreateSuper = true, value = "onCreate")
        @Keep
        public static void FragmentMethodWeaver_onCreate(MallMultiTrendFragment mallMultiTrendFragment, Bundle bundle) {
            if (!PatchProxy.proxy(new Object[]{mallMultiTrendFragment, bundle}, null, changeQuickRedirect, true, 138809, new Class[]{MallMultiTrendFragment.class, Bundle.class}, Void.TYPE).isSupported) {
                long currentTimeMillis = System.currentTimeMillis();
                MallMultiTrendFragment.n0(mallMultiTrendFragment, bundle);
                long currentTimeMillis2 = System.currentTimeMillis();
                if (mallMultiTrendFragment.getClass().getCanonicalName().equals("com.shizhuang.duapp.modules.du_trend_details.trend.fragment.MallMultiTrendFragment")) {
                    jn.b.f34396a.fragmentOnCreateMethod(mallMultiTrendFragment, currentTimeMillis, currentTimeMillis2);
                }
            }
        }

        @TargetClass(scope = Scope.ALL_CHILDREN, value = "androidx.fragment.app.Fragment")
        @Insert(mayCreateSuper = true, value = "onCreateView")
        @Keep
        public static View FragmentMethodWeaver_onCreateView(@NonNull MallMultiTrendFragment mallMultiTrendFragment, @Nullable LayoutInflater layoutInflater, @Nullable ViewGroup viewGroup, Bundle bundle) {
            PatchProxyResult proxy = PatchProxy.proxy(new Object[]{mallMultiTrendFragment, layoutInflater, viewGroup, bundle}, null, changeQuickRedirect, true, 138811, new Class[]{MallMultiTrendFragment.class, LayoutInflater.class, ViewGroup.class, Bundle.class}, View.class);
            if (proxy.isSupported) {
                return (View) proxy.result;
            }
            long currentTimeMillis = System.currentTimeMillis();
            View p0 = MallMultiTrendFragment.p0(mallMultiTrendFragment, layoutInflater, viewGroup, bundle);
            long currentTimeMillis2 = System.currentTimeMillis();
            if (mallMultiTrendFragment.getClass().getCanonicalName().equals("com.shizhuang.duapp.modules.du_trend_details.trend.fragment.MallMultiTrendFragment")) {
                jn.b.f34396a.fragmentOnCreateViewMethod(mallMultiTrendFragment, currentTimeMillis, currentTimeMillis2);
            }
            return p0;
        }

        @TargetClass(scope = Scope.ALL_CHILDREN, value = "androidx.fragment.app.Fragment")
        @Insert(mayCreateSuper = true, value = "onResume")
        @Keep
        public static void FragmentMethodWeaver_onResume(MallMultiTrendFragment mallMultiTrendFragment) {
            if (!PatchProxy.proxy(new Object[]{mallMultiTrendFragment}, null, changeQuickRedirect, true, 138808, new Class[]{MallMultiTrendFragment.class}, Void.TYPE).isSupported) {
                long currentTimeMillis = System.currentTimeMillis();
                MallMultiTrendFragment.m0(mallMultiTrendFragment);
                long currentTimeMillis2 = System.currentTimeMillis();
                if (mallMultiTrendFragment.getClass().getCanonicalName().equals("com.shizhuang.duapp.modules.du_trend_details.trend.fragment.MallMultiTrendFragment")) {
                    jn.b.f34396a.fragmentOnResumeMethod(mallMultiTrendFragment, currentTimeMillis, currentTimeMillis2);
                }
            }
        }

        @TargetClass(scope = Scope.ALL_CHILDREN, value = "androidx.fragment.app.Fragment")
        @Insert(mayCreateSuper = true, value = "onStart")
        @Keep
        public static void FragmentMethodWeaver_onStart(MallMultiTrendFragment mallMultiTrendFragment) {
            if (!PatchProxy.proxy(new Object[]{mallMultiTrendFragment}, null, changeQuickRedirect, true, 138810, new Class[]{MallMultiTrendFragment.class}, Void.TYPE).isSupported) {
                long currentTimeMillis = System.currentTimeMillis();
                MallMultiTrendFragment.o0(mallMultiTrendFragment);
                long currentTimeMillis2 = System.currentTimeMillis();
                if (mallMultiTrendFragment.getClass().getCanonicalName().equals("com.shizhuang.duapp.modules.du_trend_details.trend.fragment.MallMultiTrendFragment")) {
                    jn.b.f34396a.fragmentOnStartMethod(mallMultiTrendFragment, currentTimeMillis, currentTimeMillis2);
                }
            }
        }

        @TargetClass(scope = Scope.ALL_CHILDREN, value = "androidx.fragment.app.Fragment")
        @Insert(mayCreateSuper = true, value = "onViewCreated")
        @Keep
        public static void FragmentMethodWeaver_onViewCreated(@NonNull MallMultiTrendFragment mallMultiTrendFragment, @Nullable View view, Bundle bundle) {
            if (!PatchProxy.proxy(new Object[]{mallMultiTrendFragment, view, bundle}, null, changeQuickRedirect, true, 138812, new Class[]{MallMultiTrendFragment.class, View.class, Bundle.class}, Void.TYPE).isSupported) {
                long currentTimeMillis = System.currentTimeMillis();
                MallMultiTrendFragment.q0(mallMultiTrendFragment, view, bundle);
                long currentTimeMillis2 = System.currentTimeMillis();
                if (mallMultiTrendFragment.getClass().getCanonicalName().equals("com.shizhuang.duapp.modules.du_trend_details.trend.fragment.MallMultiTrendFragment")) {
                    jn.b.f34396a.fragmentOnViewCreatedMethod(mallMultiTrendFragment, currentTimeMillis, currentTimeMillis2);
                }
            }
        }
    }

    /* compiled from: MallMultiTrendFragment.kt */
    public static final class a implements Runnable {
        public static ChangeQuickRedirect changeQuickRedirect;
        @NotNull
        public final SoftReference<MallMultiTrendFragment> b;
        @NotNull

        /* renamed from: c  reason: collision with root package name */
        public final ArrayList<CommunityListItemModel> f14640c;
        @NotNull
        public final ArrayList<CommunityListItemModel> d;

        public a(@NotNull ArrayList<CommunityListItemModel> arrayList, @NotNull ArrayList<CommunityListItemModel> arrayList2, @NotNull MallMultiTrendFragment mallMultiTrendFragment) {
            this.f14640c = arrayList;
            this.d = arrayList2;
            this.b = new SoftReference<>(mallMultiTrendFragment);
        }

        public void run() {
            MallMultiTrendFragment mallMultiTrendFragment;
            if (!PatchProxy.proxy(new Object[0], this, changeQuickRedirect, false, 138803, new Class[0], Void.TYPE).isSupported && (mallMultiTrendFragment = this.b.get()) != null && l.c(mallMultiTrendFragment)) {
                if (!this.f14640c.isEmpty()) {
                    mallMultiTrendFragment.E().getList().addAll(0, this.f14640c);
                    mallMultiTrendFragment.E().notifyItemRangeInserted(0, this.f14640c.size());
                }
                if (!this.d.isEmpty()) {
                    int size = mallMultiTrendFragment.E().getList().size();
                    mallMultiTrendFragment.E().getList().addAll(size, this.d);
                    mallMultiTrendFragment.E().notifyItemRangeInserted(size, this.d.size());
                }
                int contentPosition = mallMultiTrendFragment.t().getContentPosition() + 1;
                if (contentPosition < 10) {
                    if (!PatchProxy.proxy(new Object[]{mallMultiTrendFragment, new Integer(contentPosition)}, this, changeQuickRedirect, false, 138804, new Class[]{MallMultiTrendFragment.class, Integer.TYPE}, Void.TYPE).isSupported) {
                        mallMultiTrendFragment.X = "";
                        if (contentPosition >= 8) {
                            mallMultiTrendFragment.t0(3);
                        } else {
                            mallMultiTrendFragment.r0().b(mallMultiTrendFragment.Y);
                        }
                    }
                } else if (!PatchProxy.proxy(new Object[]{mallMultiTrendFragment, new Integer(contentPosition)}, this, changeQuickRedirect, false, 138805, new Class[]{MallMultiTrendFragment.class, Integer.TYPE}, Void.TYPE).isSupported) {
                    int i = contentPosition % 10;
                    if (i == 0) {
                        mallMultiTrendFragment.r0().a(!ei.a.a(mallMultiTrendFragment.X));
                        mallMultiTrendFragment.r0().b(mallMultiTrendFragment.Y);
                    } else if (i <= 2) {
                        mallMultiTrendFragment.t0(1);
                        mallMultiTrendFragment.r0().b(mallMultiTrendFragment.Y);
                    } else if (i >= 6) {
                        mallMultiTrendFragment.r0().a(!ei.a.a(mallMultiTrendFragment.X));
                        mallMultiTrendFragment.t0(3);
                    } else {
                        mallMultiTrendFragment.r0().a(!ei.a.a(mallMultiTrendFragment.X));
                        mallMultiTrendFragment.r0().b(mallMultiTrendFragment.Y);
                    }
                }
                if (mallMultiTrendFragment.E().getList().size() > 1) {
                    mallMultiTrendFragment.y0();
                }
                if (mallMultiTrendFragment.x0() && contentPosition > 1) {
                    mallMultiTrendFragment.s().s(true);
                    DuExposureHelper.g(mallMultiTrendFragment.s(), false, 1);
                }
            }
        }
    }

    /* compiled from: MallMultiTrendFragment.kt */
    public static final class b implements Runnable {
        public static ChangeQuickRedirect changeQuickRedirect;
        public final /* synthetic */ MallMultiTrendFragment b;

        public b(MallMultiTrendFragment mallMultiTrendFragment) {
            this.b = mallMultiTrendFragment;
        }

        public final void run() {
            if (!PatchProxy.proxy(new Object[0], this, changeQuickRedirect, false, 138813, new Class[0], Void.TYPE).isSupported && nq.b.e(this.b)) {
                DuExposureHelper.g(this.b.s(), false, 1);
            }
        }
    }

    /* compiled from: MallMultiTrendFragment.kt */
    public static final class c extends s<CommunityListModel> {
        public static ChangeQuickRedirect changeQuickRedirect;
        public final /* synthetic */ MallMultiTrendFragment b;

        /* JADX INFO: super call moved to the top of the method (can break code semantics) */
        public c(MallMultiTrendFragment mallMultiTrendFragment, Fragment fragment) {
            super(fragment);
            this.b = mallMultiTrendFragment;
        }

        @Override // com.shizhuang.duapp.common.helper.net.facade.IViewHandler, td.s, td.a
        public void onBzError(@org.jetbrains.annotations.Nullable rd.l<CommunityListModel> lVar) {
            if (!PatchProxy.proxy(new Object[]{lVar}, this, changeQuickRedirect, false, 138824, new Class[]{rd.l.class}, Void.TYPE).isSupported) {
                super.onBzError(lVar);
                this.b.r0().b(this.b.v());
            }
        }

        @Override // com.shizhuang.duapp.common.helper.net.facade.IViewHandler, td.a
        public void onSuccess(Object obj) {
            CommunityFeedContentModel content;
            CommunityListModel communityListModel = (CommunityListModel) obj;
            boolean z = true;
            if (!PatchProxy.proxy(new Object[]{communityListModel}, this, changeQuickRedirect, false, 138823, new Class[]{CommunityListModel.class}, Void.TYPE).isSupported) {
                super.onSuccess(communityListModel);
                if (communityListModel != null) {
                    this.b.u0(communityListModel);
                    this.b.z0(communityListModel);
                    g.f40168a.h(this.b.getContext(), communityListModel.getContentCacheBeanList());
                    MallMultiTrendFragment mallMultiTrendFragment = this.b;
                    if (!PatchProxy.proxy(new Object[]{communityListModel}, mallMultiTrendFragment, MallMultiTrendFragment.changeQuickRedirect, false, 138780, new Class[]{CommunityListModel.class}, Void.TYPE).isSupported) {
                        if (mallMultiTrendFragment.w()) {
                            mallMultiTrendFragment.X(mallMultiTrendFragment.y() + 1);
                        } else {
                            if (mallMultiTrendFragment.C() == 14) {
                                for (T t : communityListModel.getSafeList()) {
                                    w90.a aVar = w90.a.f39543a;
                                    CommunityFeedModel feed = t.getFeed();
                                    w90.a.e(aVar, t, (feed == null || (content = feed.getContent()) == null) ? null : content.getCover(), 0, 0, 12);
                                }
                            }
                            mallMultiTrendFragment.V(communityListModel.getSafeLastId());
                        }
                        mallMultiTrendFragment.E().appendItems(communityListModel.getSafeList());
                        if (mallMultiTrendFragment.w()) {
                            LoadMoreHelper loadMoreHelper = mallMultiTrendFragment.V;
                            if (loadMoreHelper == null) {
                                Intrinsics.throwUninitializedPropertyAccessException("loadMoreHelper");
                            }
                            loadMoreHelper.b("1");
                        } else {
                            LoadMoreHelper loadMoreHelper2 = mallMultiTrendFragment.V;
                            if (loadMoreHelper2 == null) {
                                Intrinsics.throwUninitializedPropertyAccessException("loadMoreHelper");
                            }
                            loadMoreHelper2.b(mallMultiTrendFragment.v());
                        }
                        ArrayList<CommunityListItemModel> list = communityListModel.getList();
                        if (list != null && !list.isEmpty()) {
                            z = false;
                        }
                        if (!z) {
                            mallMultiTrendFragment.y0();
                        }
                    }
                }
            }
        }
    }

    /* compiled from: MallMultiTrendFragment.kt */
    public static final class d implements Runnable {
        public static ChangeQuickRedirect changeQuickRedirect;
        public final /* synthetic */ View b;

        public d(View view) {
            this.b = view;
        }

        public final void run() {
            View view;
            if (!PatchProxy.proxy(new Object[0], this, changeQuickRedirect, false, 138827, new Class[0], Void.TYPE).isSupported && (view = this.b) != null) {
                ViewKt.setVisible(view, false);
            }
        }
    }

    /* compiled from: MallMultiTrendFragment.kt */
    public static final class e implements Transformer<CommunityListModel, CommunityListModel> {
        public static ChangeQuickRedirect changeQuickRedirect;

        /* renamed from: a  reason: collision with root package name */
        public final /* synthetic */ MallMultiTrendFragment f14641a;

        /* JADX WARN: Incorrect args count in method signature: ()V */
        public e(MallMultiTrendFragment mallMultiTrendFragment) {
            this.f14641a = mallMultiTrendFragment;
        }

        /* 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 // com.shizhuang.duapp.common.helper.net.facade.Transformer
        public CommunityListModel apply(CommunityListModel communityListModel) {
            CommunityListModel communityListModel2 = communityListModel;
            PatchProxyResult proxy = PatchProxy.proxy(new Object[]{communityListModel2}, this, changeQuickRedirect, false, 138829, new Class[]{CommunityListModel.class}, CommunityListModel.class);
            if (proxy.isSupported) {
                return (CommunityListModel) proxy.result;
            }
            ArrayList<CommunityListItemModel> safeList = communityListModel2.getSafeList();
            if (safeList.isEmpty()) {
                return communityListModel2;
            }
            communityListModel2.setContentCacheBeanList(g.c(g.f40168a, this.f14641a.getContext(), safeList, null, 4));
            return communityListModel2;
        }
    }

    public static void m0(MallMultiTrendFragment mallMultiTrendFragment) {
        if (!PatchProxy.proxy(new Object[0], mallMultiTrendFragment, changeQuickRedirect, false, 138787, new Class[0], Void.TYPE).isSupported) {
            super.onResume();
            ar.b bVar = mallMultiTrendFragment.W;
            if (bVar != null) {
                bVar.d();
            }
        }
    }

    public static void n0(MallMultiTrendFragment mallMultiTrendFragment, Bundle bundle) {
        if (!PatchProxy.proxy(new Object[]{bundle}, mallMultiTrendFragment, changeQuickRedirect, false, 138795, new Class[]{Bundle.class}, Void.TYPE).isSupported) {
            super.onCreate(bundle);
        }
    }

    public static void o0(MallMultiTrendFragment mallMultiTrendFragment) {
        if (!PatchProxy.proxy(new Object[0], mallMultiTrendFragment, changeQuickRedirect, false, 138797, new Class[0], Void.TYPE).isSupported) {
            super.onStart();
        }
    }

    public static View p0(MallMultiTrendFragment mallMultiTrendFragment, LayoutInflater layoutInflater, ViewGroup viewGroup, Bundle bundle) {
        PatchProxyResult proxy = PatchProxy.proxy(new Object[]{layoutInflater, viewGroup, bundle}, mallMultiTrendFragment, changeQuickRedirect, false, 138799, new Class[]{LayoutInflater.class, ViewGroup.class, Bundle.class}, View.class);
        return proxy.isSupported ? (View) proxy.result : super.onCreateView(layoutInflater, viewGroup, bundle);
    }

    public static void q0(MallMultiTrendFragment mallMultiTrendFragment, View view, Bundle bundle) {
        if (!PatchProxy.proxy(new Object[]{view, bundle}, mallMultiTrendFragment, changeQuickRedirect, false, 138801, new Class[]{View.class, Bundle.class}, Void.TYPE).isSupported) {
            super.onViewCreated(view, bundle);
        }
    }

    @Override // com.shizhuang.duapp.modules.du_trend_details.trend.fragment.TrendDetailsFragment
    public void N() {
        if (!PatchProxy.proxy(new Object[0], this, changeQuickRedirect, false, 138782, new Class[0], Void.TYPE).isSupported) {
            super.N();
            s().w(new MallMultiTrendFragment$initExposureHelper$1(this));
            if (x0() && t().getContentPosition() > 0) {
                s().s(false);
            }
        }
    }

    @Override // com.shizhuang.duapp.modules.du_trend_details.trend.fragment.TrendDetailsFragment
    public void S(@NotNull RecyclerView recyclerView, int i) {
        if (!PatchProxy.proxy(new Object[]{recyclerView, new Integer(i)}, this, changeQuickRedirect, false, 138785, new Class[]{RecyclerView.class, Integer.TYPE}, Void.TYPE).isSupported) {
            super.S(recyclerView, i);
            if (recyclerView.getScrollState() == 0) {
                j jVar = this.U;
                if (jVar != null) {
                    jVar.b();
                }
                ar.b bVar = this.W;
                if (bVar != null) {
                    bVar.d();
                }
            }
        }
    }

    /* JADX WARNING: Removed duplicated region for block: B:24:0x00c2  */
    /* JADX WARNING: Removed duplicated region for block: B:25:0x00c4  */
    /* JADX WARNING: Removed duplicated region for block: B:28:0x00d5  */
    /* JADX WARNING: Removed duplicated region for block: B:36:0x00fd  */
    /* JADX WARNING: Removed duplicated region for block: B:37:0x00ff  */
    @Override // com.shizhuang.duapp.modules.du_trend_details.trend.fragment.TrendDetailsFragment
    public void T(@NotNull RecyclerView recyclerView, int i, int i3) {
        CommunityFeedContentModel content;
        boolean z;
        boolean z4;
        boolean z5;
        boolean z12;
        CommunityFeedContentModel content2;
        Object[] objArr = {recyclerView, new Integer(i), new Integer(i3)};
        ChangeQuickRedirect changeQuickRedirect2 = changeQuickRedirect;
        Class cls = Integer.TYPE;
        if (!PatchProxy.proxy(objArr, this, changeQuickRedirect2, false, 138784, new Class[]{RecyclerView.class, cls, cls}, Void.TYPE).isSupported) {
            super.T(recyclerView, i, i3);
            int findFirstVisibleItemPosition = G().findFirstVisibleItemPosition();
            if ((!E().getList().isEmpty()) && findFirstVisibleItemPosition < E().getList().size()) {
                String p = p();
                CommunityFeedModel feed = ((CommunityListItemModel) E().getList().get(findFirstVisibleItemPosition)).getFeed();
                boolean areEqual = Intrinsics.areEqual(p, (feed == null || (content2 = feed.getContent()) == null) ? null : content2.getContentId());
                ImageView imageView = (ImageView) _$_findCachedViewById(R.id.ivTools);
                if (areEqual) {
                    PatchProxyResult proxy = PatchProxy.proxy(new Object[0], this, TrendDetailsFragment.changeQuickRedirect, false, 139054, new Class[0], Boolean.TYPE);
                    if (proxy.isSupported) {
                        z12 = ((Boolean) proxy.result).booleanValue();
                    } else {
                        z12 = this.f14656u;
                    }
                    if (z12) {
                        z = true;
                        imageView.setVisibility(!z ? 0 : 8);
                        ImageView imageView2 = (ImageView) _$_findCachedViewById(R.id.ivHideTrend);
                        if (areEqual) {
                            PatchProxyResult proxy2 = PatchProxy.proxy(new Object[0], this, TrendDetailsFragment.changeQuickRedirect, false, 139056, new Class[0], Boolean.TYPE);
                            if (proxy2.isSupported) {
                                z5 = ((Boolean) proxy2.result).booleanValue();
                            } else {
                                z5 = this.f14657v;
                            }
                            if (z5) {
                                z4 = true;
                                imageView2.setVisibility(z4 ? 0 : 8);
                            }
                        }
                        z4 = false;
                        imageView2.setVisibility(z4 ? 0 : 8);
                    }
                }
                z = false;
                imageView.setVisibility(!z ? 0 : 8);
                ImageView imageView22 = (ImageView) _$_findCachedViewById(R.id.ivHideTrend);
                if (areEqual) {
                }
                z4 = false;
                imageView22.setVisibility(z4 ? 0 : 8);
            }
            if (recyclerView.getScrollState() != 0) {
                j jVar = this.U;
                if (jVar != null) {
                    jVar.a();
                }
                if ((C() == 14 || C() == 41) && !this.Z) {
                    Iterator it2 = E().getList().iterator();
                    int i12 = 0;
                    while (true) {
                        if (!it2.hasNext()) {
                            i12 = -1;
                            break;
                        }
                        String p12 = p();
                        CommunityFeedModel feed2 = ((CommunityListItemModel) it2.next()).getFeed();
                        if (Intrinsics.areEqual(p12, (feed2 == null || (content = feed2.getContent()) == null) ? null : content.getContentId())) {
                            break;
                        }
                        i12++;
                    }
                    if (i12 > findFirstVisibleItemPosition) {
                        FeedDetailsTrackUtil feedDetailsTrackUtil = FeedDetailsTrackUtil.f14690a;
                        Context context = getContext();
                        String p13 = p();
                        int q8 = q();
                        if (!PatchProxy.proxy(new Object[]{context, p13, new Integer(q8)}, feedDetailsTrackUtil, FeedDetailsTrackUtil.changeQuickRedirect, false, 139576, new Class[]{Context.class, String.class, Integer.TYPE}, Void.TYPE).isSupported) {
                            o0.b("community_gesture_click", new FeedDetailsTrackUtil$gestureClick$1(context, p13, q8));
                        }
                        this.Z = true;
                    }
                }
            }
            ar.b bVar = this.W;
            if (bVar != null) {
                bVar.c();
            }
        }
    }

    @Override // com.shizhuang.duapp.modules.du_trend_details.trend.fragment.TrendDetailsFragment, com.shizhuang.duapp.modules.du_trend_details.trend.fragment.AbsMallTrendFragment
    public void _$_clearFindViewByIdCache() {
        HashMap hashMap;
        if (!PatchProxy.proxy(new Object[0], this, changeQuickRedirect, false, 138793, new Class[0], Void.TYPE).isSupported && (hashMap = this.f14639d0) != null) {
            hashMap.clear();
        }
    }

    @Override // com.shizhuang.duapp.modules.du_trend_details.trend.fragment.TrendDetailsFragment, com.shizhuang.duapp.modules.du_trend_details.trend.fragment.AbsMallTrendFragment
    public View _$_findCachedViewById(int i) {
        PatchProxyResult proxy = PatchProxy.proxy(new Object[]{new Integer(i)}, this, changeQuickRedirect, false, 138792, new Class[]{Integer.TYPE}, View.class);
        if (proxy.isSupported) {
            return (View) proxy.result;
        }
        if (this.f14639d0 == null) {
            this.f14639d0 = new HashMap();
        }
        View view = (View) this.f14639d0.get(Integer.valueOf(i));
        if (view != null) {
            return view;
        }
        View view2 = getView();
        if (view2 == null) {
            return null;
        }
        View findViewById = view2.findViewById(i);
        this.f14639d0.put(Integer.valueOf(i), findViewById);
        return findViewById;
    }

    @Override // com.shizhuang.duapp.modules.du_trend_details.trend.fragment.TrendDetailsFragment
    public void i(@NotNull CommunityListItemModel communityListItemModel, @NotNull CommunityFeedModel communityFeedModel, @NotNull ArrayList<CommunityReplyItemModel> arrayList) {
        if (!PatchProxy.proxy(new Object[]{communityListItemModel, communityFeedModel, arrayList}, this, changeQuickRedirect, false, 138783, new Class[]{CommunityListItemModel.class, CommunityFeedModel.class, ArrayList.class}, Void.TYPE).isSupported) {
            super.i(communityListItemModel, communityFeedModel, arrayList);
            if (C() != 14) {
                w0();
            }
        }
    }

    @Override // com.shizhuang.duapp.modules.du_trend_details.trend.fragment.TrendDetailsFragment, com.shizhuang.duapp.common.base.inter.IViewController, com.shizhuang.duapp.common.ui.BaseFragment
    public void initData() {
        if (!PatchProxy.proxy(new Object[0], this, changeQuickRedirect, false, 138761, new Class[0], Void.TYPE).isSupported) {
            super.initData();
            d0();
            if (!PatchProxy.proxy(new Object[0], this, changeQuickRedirect, false, 138762, new Class[0], Void.TYPE).isSupported) {
                new w((DullRecyclerView) _$_findCachedViewById(R.id.recyclerView), getViewLifecycleOwner(), false, false, 23, 12);
            }
            if (!PatchProxy.proxy(new Object[0], this, changeQuickRedirect, false, 138763, new Class[0], Void.TYPE).isSupported) {
                FeedDetailsHelper feedDetailsHelper = FeedDetailsHelper.f14672a;
                if (feedDetailsHelper.u(C())) {
                    b30.c.b.a("TrendFragmentPreload", this).f((DullRecyclerView) _$_findCachedViewById(R.id.recyclerView), TuplesKt.to(Integer.valueOf((int) R.layout.du_trend_detail_view_single_image), 21), TuplesKt.to(Integer.valueOf((int) R.layout.du_trend_item_trend_product), 21)).l();
                } else {
                    b30.c.b.a("TrendFragmentPreload", this).f((DullRecyclerView) _$_findCachedViewById(R.id.recyclerView), TuplesKt.to(Integer.valueOf((int) R.layout.du_trend_detail_item_parent_reply), 21), TuplesKt.to(Integer.valueOf((int) R.layout.du_trend_detail_view_single_image), 21), TuplesKt.to(Integer.valueOf((int) R.layout.du_trend_item_trend_product), 21)).l();
                }
                this.T = CommunityCommonDelegate.f12815a.c((DullRecyclerView) _$_findCachedViewById(R.id.recyclerView), E(), 4, A(), feedDetailsHelper.j(), feedDetailsHelper.i(), feedDetailsHelper.h(), feedDetailsHelper.o(), feedDetailsHelper.p());
            }
            if (!PatchProxy.proxy(new Object[0], this, changeQuickRedirect, false, 138764, new Class[0], Void.TYPE).isSupported) {
                this.W = new ar.b(E(), new cr.a(G(), (DullRecyclerView) _$_findCachedViewById(R.id.recyclerView)));
            }
            if (!PatchProxy.proxy(new Object[0], this, changeQuickRedirect, false, 138765, new Class[0], Void.TYPE).isSupported) {
                LoadMoreHelper h12 = LoadMoreHelper.h(new m(this), new n(this), 3);
                this.V = h12;
                if (h12 == null) {
                    Intrinsics.throwUninitializedPropertyAccessException("loadMoreHelper");
                }
                h12.d((DullRecyclerView) _$_findCachedViewById(R.id.recyclerView));
            }
        }
    }

    @Override // com.shizhuang.duapp.modules.du_trend_details.trend.fragment.TrendDetailsFragment, com.shizhuang.duapp.common.base.inter.IViewController, com.shizhuang.duapp.common.ui.BaseFragment
    public void initView(@org.jetbrains.annotations.Nullable Bundle bundle) {
        if (!PatchProxy.proxy(new Object[]{bundle}, this, changeQuickRedirect, false, 138760, new Class[]{Bundle.class}, Void.TYPE).isSupported) {
            super.initView(bundle);
            L();
            ((ConstraintLayout) _$_findCachedViewById(R.id.clBottom)).setVisibility(8);
            t20.s.f((DullRecyclerView) _$_findCachedViewById(R.id.recyclerView), m());
            if (!FeedDetailsHelper.f14672a.u(C())) {
                this.U = new j((DullRecyclerView) _$_findCachedViewById(R.id.recyclerView), 4);
            }
        }
    }

    @Override // com.shizhuang.duapp.modules.du_trend_details.trend.fragment.TrendDetailsFragment
    public void l() {
        if (!PatchProxy.proxy(new Object[0], this, changeQuickRedirect, false, 138768, new Class[0], Void.TYPE).isSupported) {
            if (C() == 41) {
                a0();
                s0();
            } else if (C() == 14) {
                t0(2);
            } else {
                super.l();
            }
        }
    }

    @Override // com.shizhuang.duapp.modules.du_trend_details.trend.fragment.TrendDetailsFragment
    public int m() {
        PatchProxyResult proxy = PatchProxy.proxy(new Object[0], this, changeQuickRedirect, false, 138781, new Class[0], Integer.TYPE);
        if (proxy.isSupported) {
            return ((Integer) proxy.result).intValue();
        }
        return 0;
    }

    @Override // com.shizhuang.duapp.modules.du_trend_details.trend.fragment.TrendDetailsFragment, com.shizhuang.duapp.modules.du_trend_details.trend.fragment.AbsMallTrendFragment, com.shizhuang.duapp.common.ui.BaseFragment, androidx.fragment.app.Fragment
    public void onCreate(Bundle bundle) {
        if (!PatchProxy.proxy(new Object[]{bundle}, this, changeQuickRedirect, false, 138794, new Class[]{Bundle.class}, Void.TYPE).isSupported) {
            _boostWeave.FragmentMethodWeaver_onCreate(this, bundle);
        }
    }

    @Override // com.shizhuang.duapp.modules.du_trend_details.trend.fragment.TrendDetailsFragment, com.shizhuang.duapp.modules.du_trend_details.trend.fragment.AbsMallTrendFragment, com.shizhuang.duapp.common.ui.BaseFragment, androidx.fragment.app.Fragment
    public View onCreateView(LayoutInflater layoutInflater, ViewGroup viewGroup, Bundle bundle) {
        PatchProxyResult proxy = PatchProxy.proxy(new Object[]{layoutInflater, viewGroup, bundle}, this, changeQuickRedirect, false, 138798, new Class[]{LayoutInflater.class, ViewGroup.class, Bundle.class}, View.class);
        return proxy.isSupported ? (View) proxy.result : _boostWeave.FragmentMethodWeaver_onCreateView(this, layoutInflater, viewGroup, bundle);
    }

    @Override // com.shizhuang.duapp.modules.du_trend_details.trend.fragment.TrendDetailsFragment, com.shizhuang.duapp.modules.du_trend_details.trend.fragment.AbsMallTrendFragment, com.shizhuang.duapp.common.ui.BaseFragment, androidx.fragment.app.Fragment
    public void onDestroyView() {
        if (!PatchProxy.proxy(new Object[0], this, changeQuickRedirect, false, 138789, new Class[0], Void.TYPE).isSupported) {
            super.onDestroyView();
            ((DullRecyclerView) _$_findCachedViewById(R.id.recyclerView)).removeCallbacks(this.b0);
            ((DullRecyclerView) _$_findCachedViewById(R.id.recyclerView)).removeCallbacks(this.f14637a0);
            Disposable disposable = this.T;
            if (disposable != null) {
                disposable.dispose();
            }
            j jVar = this.U;
            if (jVar != null) {
                jVar.a();
            }
            ar.b bVar = this.W;
            if (bVar != null) {
                bVar.f();
            }
            _$_clearFindViewByIdCache();
        }
    }

    @Override // com.shizhuang.duapp.modules.du_trend_details.trend.fragment.TrendDetailsFragment, com.shizhuang.duapp.common.ui.BaseFragment, androidx.fragment.app.Fragment
    public void onPause() {
        if (!PatchProxy.proxy(new Object[0], this, changeQuickRedirect, false, 138788, new Class[0], Void.TYPE).isSupported) {
            super.onPause();
            ar.b bVar = this.W;
            if (bVar != null) {
                bVar.e();
            }
        }
    }

    @Override // com.shizhuang.duapp.modules.du_trend_details.trend.fragment.TrendDetailsFragment, com.shizhuang.duapp.modules.du_trend_details.trend.fragment.AbsMallTrendFragment, com.shizhuang.duapp.common.ui.BaseFragment, androidx.fragment.app.Fragment
    public void onResume() {
        if (!PatchProxy.proxy(new Object[0], this, changeQuickRedirect, false, 138786, new Class[0], Void.TYPE).isSupported) {
            _boostWeave.FragmentMethodWeaver_onResume(this);
        }
    }

    @Override // com.shizhuang.duapp.modules.du_trend_details.trend.fragment.TrendDetailsFragment, com.shizhuang.duapp.modules.du_trend_details.trend.fragment.AbsMallTrendFragment, com.shizhuang.duapp.common.ui.BaseFragment, androidx.fragment.app.Fragment
    public void onStart() {
        if (!PatchProxy.proxy(new Object[0], this, changeQuickRedirect, false, 138796, new Class[0], Void.TYPE).isSupported) {
            _boostWeave.FragmentMethodWeaver_onStart(this);
        }
    }

    @Override // com.shizhuang.duapp.modules.du_trend_details.trend.fragment.TrendDetailsFragment, com.shizhuang.duapp.modules.du_trend_details.trend.fragment.AbsMallTrendFragment, com.shizhuang.duapp.common.ui.BaseFragment, androidx.fragment.app.Fragment
    public void onViewCreated(View view, Bundle bundle) {
        if (!PatchProxy.proxy(new Object[]{view, bundle}, this, changeQuickRedirect, false, 138800, new Class[]{View.class, Bundle.class}, Void.TYPE).isSupported) {
            _boostWeave.FragmentMethodWeaver_onViewCreated(this, view, bundle);
        }
    }

    @Override // com.shizhuang.duapp.modules.du_trend_details.trend.fragment.TrendDetailsFragment, com.shizhuang.duapp.modules.du_trend_details.trend.interfaces.IFeedDetailsFragment
    public boolean parentCanIntercept(float f, float f12) {
        Object[] objArr = {new Float(f), new Float(f12)};
        ChangeQuickRedirect changeQuickRedirect2 = changeQuickRedirect;
        Class cls = Float.TYPE;
        PatchProxyResult proxy = PatchProxy.proxy(objArr, this, changeQuickRedirect2, false, 138767, new Class[]{cls, cls}, Boolean.TYPE);
        if (proxy.isSupported) {
            return ((Boolean) proxy.result).booleanValue();
        }
        RecyclerView.LayoutManager layoutManager = ((DullRecyclerView) _$_findCachedViewById(R.id.recyclerView)).getLayoutManager();
        if (layoutManager instanceof LinearLayoutManager) {
            LinearLayoutManager linearLayoutManager = (LinearLayoutManager) layoutManager;
            this.R[0] = linearLayoutManager.findFirstVisibleItemPosition();
            this.R[1] = linearLayoutManager.findLastVisibleItemPosition();
        }
        int[] iArr = this.R;
        if (iArr[0] < 0 || iArr[1] < 0 || iArr[0] > 0) {
            return false;
        }
        RecyclerView.ViewHolder findViewHolderForLayoutPosition = ((DullRecyclerView) _$_findCachedViewById(R.id.recyclerView)).findViewHolderForLayoutPosition(0);
        if (!(findViewHolderForLayoutPosition instanceof TrendDetailsImageViewHolder)) {
            findViewHolderForLayoutPosition = null;
        }
        TrendDetailsImageViewHolder trendDetailsImageViewHolder = (TrendDetailsImageViewHolder) findViewHolderForLayoutPosition;
        if (trendDetailsImageViewHolder != null) {
            trendDetailsImageViewHolder.itemView.getGlobalVisibleRect(this.Q);
            int i = (int) f;
            int i3 = (int) f12;
            if (!this.Q.contains(i, i3)) {
                return false;
            }
            RecyclerView a5 = trendDetailsImageViewHolder.a();
            if (a5 != null) {
                a5.getGlobalVisibleRect(this.P);
                return !this.P.contains(i, i3) || !a5.canScrollHorizontally(-1);
            }
        }
        return false;
    }

    @NotNull
    public final LoadMoreHelper r0() {
        PatchProxyResult proxy = PatchProxy.proxy(new Object[0], this, changeQuickRedirect, false, 138758, new Class[0], LoadMoreHelper.class);
        if (proxy.isSupported) {
            return (LoadMoreHelper) proxy.result;
        }
        LoadMoreHelper loadMoreHelper = this.V;
        if (loadMoreHelper == null) {
            Intrinsics.throwUninitializedPropertyAccessException("loadMoreHelper");
        }
        return loadMoreHelper;
    }

    public final void s0() {
        if (!PatchProxy.proxy(new Object[0], this, changeQuickRedirect, false, 138769, new Class[0], Void.TYPE).isSupported) {
            TrendDetailsFacade trendDetailsFacade = TrendDetailsFacade.f14569a;
            String contentIds = t().getContentIds();
            String productId = t().getProductId();
            MallMultiTrendFragment$getProductDetailTalent$1 mallMultiTrendFragment$getProductDetailTalent$1 = new MallMultiTrendFragment$getProductDetailTalent$1(this, this);
            e eVar = this.f14638c0;
            Object[] objArr = {contentIds, productId, new Integer(2), new Integer(2), new Integer(2), new Integer(0), mallMultiTrendFragment$getProductDetailTalent$1, eVar};
            ChangeQuickRedirect changeQuickRedirect2 = TrendDetailsFacade.changeQuickRedirect;
            Class cls = Integer.TYPE;
            if (!PatchProxy.proxy(objArr, trendDetailsFacade, changeQuickRedirect2, false, 138043, new Class[]{String.class, String.class, cls, cls, cls, cls, s.class, Transformer.class}, Void.TYPE).isSupported) {
                td.j.doRequest(((TrendDetailsApi) td.j.getJavaGoApi(TrendDetailsApi.class)).getContentListData(contentIds, productId, 2, 2, 2, 0), mallMultiTrendFragment$getProductDetailTalent$1, eVar);
            }
        }
    }

    public final void t0(int i) {
        String str;
        if (!PatchProxy.proxy(new Object[]{new Integer(i)}, this, changeQuickRedirect, false, 138770, new Class[]{Integer.TYPE}, Void.TYPE).isSupported) {
            if (!n() && i == 2) {
                a0();
            }
            String str2 = "0";
            if (i == 1) {
                str = this.X;
                str2 = "1";
            } else if (i != 3) {
                str = v();
            } else {
                str = this.Y;
            }
            TrendDetailsFacade.f14569a.r(getContext(), C(), str, str2, B(), this, new MallMultiTrendFragment$getProductDressListData$1(this, i, this), this.f14638c0);
        }
    }

    @Override // com.shizhuang.duapp.modules.du_trend_details.trend.fragment.TrendDetailsFragment
    public int u() {
        PatchProxyResult proxy = PatchProxy.proxy(new Object[0], this, changeQuickRedirect, false, 138790, new Class[0], Integer.TYPE);
        if (proxy.isSupported) {
            return ((Integer) proxy.result).intValue();
        }
        return 3;
    }

    public final void u0(CommunityListModel communityListModel) {
        ArrayList<CommunityListItemModel> list;
        int i = 0;
        if (!PatchProxy.proxy(new Object[]{communityListModel}, this, changeQuickRedirect, false, 138774, new Class[]{CommunityListModel.class}, Void.TYPE).isSupported && (list = communityListModel.getList()) != null) {
            for (T t : list) {
                int i3 = i + 1;
                if (i < 0) {
                    CollectionsKt__CollectionsKt.throwIndexOverflow();
                }
                t.setRelativePosition(i3);
                i = i3;
            }
        }
    }

    public final void v0(CommunityListModel communityListModel, boolean z) {
        CommunityFeedModel feed;
        if (!PatchProxy.proxy(new Object[]{communityListModel, new Byte(z ? (byte) 1 : 0)}, this, changeQuickRedirect, false, 138772, new Class[]{CommunityListModel.class, Boolean.TYPE}, Void.TYPE).isSupported) {
            if (z) {
                this.X = communityListModel.getSafeLastId();
            }
            this.Y = communityListModel.getSafeLastId();
            CommunityListItemModel communityListItemModel = null;
            ArrayList arrayList = new ArrayList();
            ArrayList arrayList2 = new ArrayList();
            int size = communityListModel.getSafeList().size();
            boolean z4 = false;
            for (int i = 0; i < size; i++) {
                CommunityListItemModel communityListItemModel2 = communityListModel.getSafeList().get(i);
                CommunityFeedModel feed2 = communityListItemModel2.getFeed();
                if (feed2 != null) {
                    if (Intrinsics.areEqual(p(), feed2.getContent().getContentId())) {
                        communityListItemModel = communityListItemModel2;
                        z4 = true;
                    } else if (z4) {
                        arrayList2.add(communityListItemModel2);
                    } else {
                        arrayList.add(communityListItemModel2);
                    }
                }
            }
            if (!(communityListItemModel == null || (feed = communityListItemModel.getFeed()) == null)) {
                I(communityListItemModel, feed);
                if (this.f14637a0 == null) {
                    this.f14637a0 = new a(arrayList, arrayList2, this);
                }
                ((DullRecyclerView) _$_findCachedViewById(R.id.recyclerView)).post(this.f14637a0);
            }
        }
    }

    public final void w0() {
        if (!PatchProxy.proxy(new Object[0], this, changeQuickRedirect, false, 138778, new Class[0], Void.TYPE).isSupported) {
            TrendDetailsFacade.f14569a.r(getContext(), C(), v(), "0", B(), this, new c(this, this), this.f14638c0);
        }
    }

    @Override // com.shizhuang.duapp.modules.du_trend_details.trend.fragment.TrendDetailsFragment
    @org.jetbrains.annotations.Nullable
    public String x() {
        PatchProxyResult proxy = PatchProxy.proxy(new Object[0], this, changeQuickRedirect, false, 138791, new Class[0], String.class);
        if (proxy.isSupported) {
            return (String) proxy.result;
        }
        return null;
    }

    public final boolean x0() {
        PatchProxyResult proxy = PatchProxy.proxy(new Object[0], this, changeQuickRedirect, false, 138773, new Class[0], Boolean.TYPE);
        if (proxy.isSupported) {
            return ((Boolean) proxy.result).booleanValue();
        }
        return !n() && C() == 14;
    }

    @SuppressLint({"DuPostDelayCheck"})
    public final void y0() {
        if (PatchProxy.proxy(new Object[0], this, changeQuickRedirect, false, 138766, new Class[0], Void.TYPE).isSupported || this.S) {
            return;
        }
        if (C() == 14 || FeedDetailsHelper.f14672a.v(C())) {
            Integer num = (Integer) b0.f("trend_detail_guide_key", 0);
            int intValue = num.intValue();
            if (intValue >= 0 && 1 >= intValue) {
                View inflate = ((ViewStub) getView().findViewById(R.id.stubScrollGuide)).inflate();
                inflate.setVisibility(0);
                inflate.postDelayed(new d(inflate), 5000);
                ViewExtensionKt.j(inflate, 0, new MallMultiTrendFragment$showScrollGuide$2(inflate), 1);
                float f = (float) 140;
                ((co.c) ((DuImageLoaderView) inflate.findViewById(R.id.ivScrollGuide)).i("https://cdn.poizon.com/node-common/12358f83dd1bcc889b15f95263f6c465.webp").v(new co.d(fi.b.b(f), fi.b.b(f)))).x();
                b0.l("trend_detail_guide_key", Integer.valueOf(num.intValue() + 1));
            }
            this.S = true;
        }
    }

    public final void z0(CommunityListModel communityListModel) {
        if (!PatchProxy.proxy(new Object[]{communityListModel}, this, changeQuickRedirect, false, 138779, new Class[]{CommunityListModel.class}, Void.TYPE).isSupported) {
            Iterator<T> it2 = communityListModel.getSafeList().iterator();
            while (it2.hasNext()) {
                it2.next().setRequestId(communityListModel.getRequestId());
            }
        }
    }
}