Nextrek
Diff Revisions
686
vs
696
for /Android/SmartCharging/SmartCharging/app/src/main/java/it/fedeloper/smartcharging/Controller/MapActivity.java
|
@@ -107,6 +107,7 @@ |
107 |
107 |
|
private TextView emailLocaleTextView; |
108 |
108 |
|
private TextView numLocaleTextView; |
109 |
109 |
|
private TextView sitoLocaleTextView; |
|
110 |
+ |
private TextView cariLocaleTextView; |
110 |
111 |
|
private Button reviewButton; |
111 |
112 |
|
|
112 |
113 |
|
|
|
@@ -299,6 +300,7 @@ |
299 |
300 |
|
} catch (ActivityNotFoundException e){} |
300 |
301 |
|
} |
301 |
302 |
|
}); |
|
303 |
+ |
cariLocaleTextView = (TextView) findViewById(R.id.cari_locale); |
302 |
304 |
|
numLocaleTextView = (TextView) findViewById(R.id.num_locale); |
303 |
305 |
|
numLocaleTextView.setOnClickListener(new View.OnClickListener() { |
304 |
306 |
|
@Override |
|
@@ -558,7 +560,7 @@ |
558 |
560 |
|
sitoLocaleTextView.setText(resp.getString("sito")); |
559 |
561 |
|
emailLocaleTextView.setText(resp.getString("email")); |
560 |
562 |
|
numLocaleTextView.setText(resp.getString("telefono")); |
561 |
|
- |
|
|
563 |
+ |
cariLocaleTextView.setText(getString(R.string.punti_di_ricarica)+resp.getString("n_punti_ricarica")); |
562 |
564 |
|
idlocale = id; |
563 |
565 |
|
} catch (JSONException e) { |
564 |
566 |
|
e.printStackTrace(); |