mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-27 04:43:54 +01:00
Correctly configured injection for fragments and services.
This commit is contained in:
parent
cfe17cafa6
commit
388f588301
10 changed files with 87 additions and 14 deletions
|
|
@ -1,6 +1,5 @@
|
|||
package fr.free.nrw.commons;
|
||||
|
||||
import android.app.Service;
|
||||
import android.content.Intent;
|
||||
import android.os.Binder;
|
||||
import android.os.Handler;
|
||||
|
|
@ -9,7 +8,9 @@ import android.os.IBinder;
|
|||
import android.os.Looper;
|
||||
import android.os.Message;
|
||||
|
||||
public abstract class HandlerService<T> extends Service {
|
||||
import dagger.android.DaggerService;
|
||||
|
||||
public abstract class HandlerService<T> extends DaggerService {
|
||||
private volatile Looper threadLooper;
|
||||
private volatile ServiceHandler threadHandler;
|
||||
private String serviceName;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue