- This event has passed.
4 PM – Intro To Java – William
March 16 @ 4:00 pm - 5:00 pm
Today We Did
- Added a fromTextField and toText field to show temperature values
- Started the onClickConvert() method to convert F to C
Homework
The code for today’s lesson is uploaded here: https://drive.google.com/drive/folders/1Ftsx-CYnRf3_zP2ypCEGCDhjrX3PCWrY?usp=drive_link
- Finish the onClickConvert() method:
- Convert Fahrenheit into degrees Celcius (you can google the conversion if you don’t know!)
- Change TextView text as necessary
- Double-check that the onClick attribute for the button is set to the current method
- Add a Spinner to our User Interface (UI)
- Located in “Containers”
- It should have the following attributes:
- Constrained 64sp below the fromTextField
- Constrained 48sp to the left/right
- Constrain the button to the left/right, and 48sp below the spinner
If you have any questions, please email me at williamsmith@ayclogic.com.