<Type mismatch error when fetching API with RxJava...
# stackoverflow
u
Type mismatch error when fetching API with RxJava I'm trying to fetch API with RxJava by following this tutorial:

https://www.youtube.com/watch?v=VObSnk5jrpc&list=PLRRNzqzbPLd906bPH-xFz9Oy2IcjqVWCH&index=6

But I got an error saying: Type mismatch. Required: io.reactivex.disposables.Disposable! Found: io.reactivex.rxjava3.disposables.Disposable! Here is the code: try{ compositeDisposable.add(...