mAiden wrote:
- Code: Select all
case R.id.btnPlus:
TemperatureController.getInstance().setTemperatureHigher(0.5);
break;
case R.id.btnMin:
TemperatureController.getInstance().setTemperatureLower(0.5);
break
Bron: https://github.com/Inversion-NL/Toon-Android/blob/master/app/src/main/java/com/toonapps/toon/view/MainActivity.java
This is also not going well, Toon will raise and lower the temperature by 0.1 not by 0.5, this is due to the resource file that must be loaded, otherwise our custom apps will not work.
So my app should change the temp by 0.1 and not 0.5?
Thanks, I'll change it.