Skip to content

Instantly share code, notes, and snippets.

@jezinka

jezinka/SensorsAdapter.java Secret

Last active Aug 12, 2018
Embed
What would you like to do?
holder.battery.setColorFilter(sensor.getBatteryColor());
holder.battery.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
Toast.makeText(v.getContext(), sensor.getVbatVreg(), Toast.LENGTH_SHORT).show();
}
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment