discord-jadx/app/src/main/java/com/discord/utilities/views/ViewCoroutineScopeKt$corout...

24 lines
839 B
Java
Raw Normal View History

2021-06-27 20:44:35 +00:00
package com.discord.utilities.views;
import android.view.ViewTreeObserver;
2021-06-27 20:53:42 +00:00
import c.q.a.k.a;
2021-06-27 20:44:35 +00:00
import java.util.concurrent.CancellationException;
import kotlin.jvm.internal.Ref$ObjectRef;
/* compiled from: ViewCoroutineScope.kt */
public final class ViewCoroutineScopeKt$coroutineScope$1 implements ViewTreeObserver.OnWindowAttachListener {
public final /* synthetic */ Ref$ObjectRef $scope;
public ViewCoroutineScopeKt$coroutineScope$1(Ref$ObjectRef ref$ObjectRef) {
this.$scope = ref$ObjectRef;
}
@Override // android.view.ViewTreeObserver.OnWindowAttachListener
public void onWindowAttached() {
}
@Override // android.view.ViewTreeObserver.OnWindowAttachListener
public void onWindowDetached() {
2021-06-27 20:53:42 +00:00
a.i(this.$scope.element, new CancellationException("view detached from window"));
2021-06-27 20:44:35 +00:00
}
}