- This event has passed.
4 PM – Intro To Java – William
April 13 @ 4:00 pm - 5:00 pm
Today We Did
- Continued working on Temperature Converter
- Swapped unit labels to match temperature conversion type (C –> F)
Homework
Continue working on TemperatureConverter:
- Change the unit labels according to the other conversion options:
- Celsius –> Kelvin
- Fahrenheit –> Celsius (this is needed in case the user switches back)
- When switching between conversion types, we want to clear the values for the previous conversion:
- After changing the labels, create 2 TextView objects to represent
toTextField
andfromTextField
(usefindViewById()
) - Use the
setText()
method to set the text of thefromTextField
andtoTextField
to an empty string
- After changing the labels, create 2 TextView objects to represent
If you have any questions, please email me at williamsmith@ayclogic.com.