Java 类android.content.AbstractThreadedSyncAdapter 实例源码
项目:android_xcore
文件:SyncService.java
public AbstractThreadedSyncAdapter getSyncAdapter(Context context, boolean autoInitialize) {
return new AbstractThreadedSyncAdapter(context, autoInitialize){
@Override
public void onPerformSync(Account account, Bundle extras, String authority,
ContentProviderClient provider, SyncResult syncResult) {
SyncService.this.onPerformSync(account, extras, authority, provider, syncResult);
}
};
}
项目:pedefacil
文件:MCXApplication.java
public void inject(AbstractThreadedSyncAdapter fragment) {
getObjectGraph().inject(fragment);
}
项目:YourAppIdea
文件:MCXApplication.java
public void inject(AbstractThreadedSyncAdapter fragment) {
getObjectGraph().inject(fragment);
}