mirror of
				https://github.com/commons-app/apps-android-commons.git
				synced 2025-10-31 14:53:59 +01:00 
			
		
		
		
	Put logs in onClick()
This commit is contained in:
		
							parent
							
								
									1fe7b4842d
								
							
						
					
					
						commit
						da63f31017
					
				
					 1 changed files with 3 additions and 1 deletions
				
			
		|  | @ -417,12 +417,13 @@ public class NearbyMapFragment extends android.support.v4.app.Fragment { | |||
|         title.setText(place.name.toString()); | ||||
|         distance.setText(place.distance.toString()); | ||||
| 
 | ||||
|         Timber.d("Image title: " + place.getName() + "Image desc: " + place.getLongDescription()); | ||||
| 
 | ||||
| 
 | ||||
|         fabCamera.setOnClickListener(new View.OnClickListener() { | ||||
|             @Override | ||||
|             public void onClick(View view) { | ||||
|                 //TODO: Change this to activate camera upload (see ContributionsListFragment) | ||||
|                 Timber.d("Image title: " + place.getName() + "Image desc: " + place.getLongDescription()); | ||||
|                 openWebView(place.siteLinks.getWikidataLink()); | ||||
|             } | ||||
|         }); | ||||
|  | @ -431,6 +432,7 @@ public class NearbyMapFragment extends android.support.v4.app.Fragment { | |||
|             @Override | ||||
|             public void onClick(View view) { | ||||
|                 //TODO: Change this to activate gallery upload (see ContributionsListFragment) | ||||
|                 Timber.d("Image title: " + place.getName() + "Image desc: " + place.getLongDescription()); | ||||
|                 openWebView(place.siteLinks.getWikidataLink()); | ||||
|             } | ||||
|         }); | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 misaochan
						misaochan