42 lines
1.6 KiB
Java
42 lines
1.6 KiB
Java
|
package o;
|
||
|
|
||
|
import android.view.ViewGroup;
|
||
|
import android.widget.LinearLayout;
|
||
|
import androidx.recyclerview.widget.RecyclerView;
|
||
|
import com.scb.phone.view.fragment.landingpage.LandingFragment;
|
||
|
import java.lang.ref.WeakReference;
|
||
|
|
||
|
/* renamed from: o.fms, reason: case insensitive filesystem */
|
||
|
/* loaded from: classes5.dex */
|
||
|
public final class C14105fms extends AbstractRunnableC14102fmp {
|
||
|
private WeakReference<LinearLayout> c;
|
||
|
|
||
|
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
|
||
|
public C14105fms(LandingFragment landingFragment, RecyclerView recyclerView, LinearLayout linearLayout) {
|
||
|
super(landingFragment, recyclerView);
|
||
|
C14957gcv.e(landingFragment, "");
|
||
|
C14957gcv.e(recyclerView, "");
|
||
|
C14957gcv.e(linearLayout, "");
|
||
|
this.c = new WeakReference<>(linearLayout);
|
||
|
}
|
||
|
|
||
|
@Override // o.AbstractRunnableC14102fmp
|
||
|
public final boolean e() {
|
||
|
return super.e() && this.c.get() != null;
|
||
|
}
|
||
|
|
||
|
@Override // java.lang.Runnable
|
||
|
public final void run() {
|
||
|
LinearLayout linearLayout;
|
||
|
if (!super.e() || this.c.get() == null || (linearLayout = this.c.get()) == null) {
|
||
|
return;
|
||
|
}
|
||
|
ViewGroup.LayoutParams layoutParams = linearLayout.getLayoutParams();
|
||
|
C14957gcv.d(layoutParams, "");
|
||
|
LinearLayout.LayoutParams layoutParams2 = (LinearLayout.LayoutParams) layoutParams;
|
||
|
((ViewGroup.LayoutParams) layoutParams2).height = super.a();
|
||
|
linearLayout.setLayoutParams(layoutParams2);
|
||
|
linearLayout.setVisibility(0);
|
||
|
}
|
||
|
}
|