Initial commit

This commit is contained in:
2025-05-13 19:24:51 +02:00
commit a950f49678
10604 changed files with 932663 additions and 0 deletions

View File

@@ -0,0 +1,6 @@
package com.jakewharton.rxbinding2.internal;
/* loaded from: classes.dex */
public enum Notification {
INSTANCE
}

View File

@@ -0,0 +1,23 @@
package com.jakewharton.rxbinding2.internal;
import android.os.Looper;
import io.reactivex.Observer;
import io.reactivex.disposables.Disposables;
/* loaded from: classes.dex */
public final class Preconditions {
public static void a(Object obj, String str) {
if (obj == null) {
throw new NullPointerException(str);
}
}
public static boolean a(Observer<?> observer) {
if (Looper.myLooper() == Looper.getMainLooper()) {
return true;
}
observer.onSubscribe(Disposables.b());
observer.onError(new IllegalStateException("Expected to be called on the main thread but was " + Thread.currentThread().getName()));
return false;
}
}