discord-jadx/app/src/main/java/androidx/core/view/ViewKt$doOnNextLayout$1.java

24 lines
946 B
Java

package androidx.core.view;
import android.view.View;
import d0.z.d.m;
import kotlin.Unit;
import kotlin.jvm.functions.Function1;
/* compiled from: View.kt */
public final class ViewKt$doOnNextLayout$1 implements View.OnLayoutChangeListener {
public final /* synthetic */ Function1<View, Unit> $action;
/* JADX DEBUG: Multi-variable search result rejected for r1v0, resolved type: kotlin.jvm.functions.Function1<? super android.view.View, kotlin.Unit> */
/* JADX WARN: Multi-variable type inference failed */
public ViewKt$doOnNextLayout$1(Function1<? super View, Unit> function1) {
this.$action = function1;
}
@Override // android.view.View.OnLayoutChangeListener
public void onLayoutChange(View view, int i, int i2, int i3, int i4, int i5, int i6, int i7, int i8) {
m.checkNotNullParameter(view, "view");
view.removeOnLayoutChangeListener(this);
this.$action.invoke(view);
}
}