-
-
Save jezinka/27640fff4186b040ad1ebd22f8fcbafe to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Override | |
public void onBindViewHolder(ViewHolder holder, int position) { | |
final Sensor sensor = mSensor[position]; | |
TextView label = holder.label; | |
label.setText(sensor.label); | |
TextView temperature = holder.temperature; | |
temperature.setText(TextUtils.concat("Temp. ", String.valueOf(sensor.temperature), "\u00B0C")); | |
(...) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment