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