mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-24 14:49:42 -06:00
Android: Remove rxjava lib
No need to keep rxjava lib around for one simple use case
This commit is contained in:
@ -98,8 +98,6 @@ dependencies {
|
|||||||
// For loading huge screenshots from the disk.
|
// For loading huge screenshots from the disk.
|
||||||
implementation 'com.squareup.picasso:picasso:2.71828'
|
implementation 'com.squareup.picasso:picasso:2.71828'
|
||||||
|
|
||||||
// Allows FRP-style asynchronous operations in Android.
|
|
||||||
implementation 'io.reactivex:rxandroid:1.2.1'
|
|
||||||
implementation 'com.nononsenseapps:filepicker:4.1.0'
|
implementation 'com.nononsenseapps:filepicker:4.1.0'
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -0,0 +1,6 @@
|
|||||||
|
package org.dolphinemu.dolphinemu.utils;
|
||||||
|
|
||||||
|
public interface Action1<T>
|
||||||
|
{
|
||||||
|
void call(T t);
|
||||||
|
}
|
@ -6,8 +6,6 @@ import android.content.Intent;
|
|||||||
|
|
||||||
import org.dolphinemu.dolphinemu.utils.DirectoryInitialization.DirectoryInitializationState;
|
import org.dolphinemu.dolphinemu.utils.DirectoryInitialization.DirectoryInitializationState;
|
||||||
|
|
||||||
import rx.functions.Action1;
|
|
||||||
|
|
||||||
public class DirectoryStateReceiver extends BroadcastReceiver
|
public class DirectoryStateReceiver extends BroadcastReceiver
|
||||||
{
|
{
|
||||||
Action1<DirectoryInitializationState> callback;
|
Action1<DirectoryInitializationState> callback;
|
||||||
|
Reference in New Issue
Block a user