mirror of
				https://github.com/commons-app/apps-android-commons.git
				synced 2025-10-31 14:53:59 +01:00 
			
		
		
		
	@Inject the MediaWikiApi where needed to reduce coupling between classes.
This commit is contained in:
		
							parent
							
								
									ed1ae98d8e
								
							
						
					
					
						commit
						647cc166ef
					
				
					 16 changed files with 85 additions and 82 deletions
				
			
		|  | @ -7,6 +7,7 @@ import dagger.android.AndroidInjectionModule; | |||
| import dagger.android.AndroidInjector; | ||||
| import dagger.android.support.AndroidSupportInjectionModule; | ||||
| import fr.free.nrw.commons.CommonsApplication; | ||||
| import fr.free.nrw.commons.MediaWikiImageView; | ||||
| import fr.free.nrw.commons.auth.WikiAccountAuthenticatorService; | ||||
| import fr.free.nrw.commons.contributions.ContributionsSyncAdapter; | ||||
| import fr.free.nrw.commons.modifications.ModificationsSyncAdapter; | ||||
|  | @ -31,6 +32,8 @@ public interface CommonsApplicationComponent extends AndroidInjector<CommonsAppl | |||
| 
 | ||||
|     void inject(ModificationsSyncAdapter syncAdapter); | ||||
| 
 | ||||
|     void inject(MediaWikiImageView mediaWikiImageView); | ||||
| 
 | ||||
|     @Component.Builder | ||||
|     interface Builder { | ||||
|         Builder appModule(CommonsApplicationModule applicationModule); | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Paul Hawke
						Paul Hawke