summaryrefslogtreecommitdiff
path: root/platform/android/MapboxGLAndroidSDKTestApp/src/main/java/com/mapbox/mapboxsdk/testapp/adapter
diff options
context:
space:
mode:
authorCameron Mace <cameron@mapbox.com>2016-09-02 14:48:49 -0400
committerGitHub <noreply@github.com>2016-09-02 14:48:49 -0400
commit6a39cf5aaece81c7a531b12321dd503004cc45b8 (patch)
treef5709d2bebc092092adcaca49fed8dd1b29f4913 /platform/android/MapboxGLAndroidSDKTestApp/src/main/java/com/mapbox/mapboxsdk/testapp/adapter
parent0c4e51adf8f92fd0d1b00635bdd6c8fe4d3a66b2 (diff)
downloadqtlocation-mapboxgl-6a39cf5aaece81c7a531b12321dd503004cc45b8.tar.gz
[android] Checkstyle fixes round 1 (#6234)
* removed last of hungarian notation from testapp and fixed other checkstyle issues * added back MapboxMap for espresso
Diffstat (limited to 'platform/android/MapboxGLAndroidSDKTestApp/src/main/java/com/mapbox/mapboxsdk/testapp/adapter')
-rw-r--r--platform/android/MapboxGLAndroidSDKTestApp/src/main/java/com/mapbox/mapboxsdk/testapp/adapter/FeatureAdapter.java14
1 files changed, 7 insertions, 7 deletions
diff --git a/platform/android/MapboxGLAndroidSDKTestApp/src/main/java/com/mapbox/mapboxsdk/testapp/adapter/FeatureAdapter.java b/platform/android/MapboxGLAndroidSDKTestApp/src/main/java/com/mapbox/mapboxsdk/testapp/adapter/FeatureAdapter.java
index fac7e34ce1..71adba8ac7 100644
--- a/platform/android/MapboxGLAndroidSDKTestApp/src/main/java/com/mapbox/mapboxsdk/testapp/adapter/FeatureAdapter.java
+++ b/platform/android/MapboxGLAndroidSDKTestApp/src/main/java/com/mapbox/mapboxsdk/testapp/adapter/FeatureAdapter.java
@@ -22,12 +22,12 @@ public class FeatureAdapter extends RecyclerView.Adapter<FeatureAdapter.ViewHold
public TextView labelView;
public TextView descriptionView;
- public ViewHolder(View v) {
- super(v);
- Typeface typeface = FontCache.get("Roboto-Regular.ttf",v.getContext());
- labelView = (TextView) v.findViewById(R.id.nameView);
+ public ViewHolder(View view) {
+ super(view);
+ Typeface typeface = FontCache.get("Roboto-Regular.ttf",view.getContext());
+ labelView = (TextView) view.findViewById(R.id.nameView);
labelView.setTypeface(typeface);
- descriptionView = (TextView) v.findViewById(R.id.descriptionView);
+ descriptionView = (TextView) view.findViewById(R.id.descriptionView);
descriptionView.setTypeface(typeface);
}
}
@@ -38,8 +38,8 @@ public class FeatureAdapter extends RecyclerView.Adapter<FeatureAdapter.ViewHold
@Override
public FeatureAdapter.ViewHolder onCreateViewHolder(ViewGroup parent, int viewType) {
- View v = LayoutInflater.from(parent.getContext()).inflate(R.layout.item_main_feature, parent, false);
- return new ViewHolder(v);
+ View view = LayoutInflater.from(parent.getContext()).inflate(R.layout.item_main_feature, parent, false);
+ return new ViewHolder(view);
}
@Override