Skip to content

Instantly share code, notes, and snippets.

Last active Aug 11, 2018
What would you like to do?
public void onBindViewHolder(ViewHolder holder, int position) {
final Sensor sensor = mSensor[position];
TextView label = holder.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