Apple Usefull Links :
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class AndroidWorkerInjection { | |
public static void inject(Worker worker) { | |
checkNotNull(worker, "worker"); | |
Object application = worker.getApplicationContext(); | |
if (!(application instanceof HasWorkerInjector)) { | |
throw new RuntimeException( | |
String.format( | |
"%s does not implement %s", | |
application.getClass().getCanonicalName(), |
NewerOlder