American Young Coder (AYC)

AYC logo
Loading Events

« All Events

  • This event has passed.

6:30 PM – Intro To Java – Darin

September 7 @ 6:30 pm - 7:30 pm

What We Did Today:

  1. Learnt how to grab an element by its id using findViewById().
  2. Utilized ID’s to change the text of other elements on our screen
  3. Implemented the math to convert the input value for Fahrenheit to an output value of Celsius and displayed them accordingly on the screen using the ID’s.
  4. Added a spinner class that’s left for us to implement next week!

Homework:

  1. Continue on your TemperatureConverter Project.
  2. Create two new elements ( a button (that says “changeText”) and a textview (that says “changeMe”) ) and place them WITH constraints to the edges of the screen below the convertButton in activity_main.xml.
  3. In MainActivity.java, create a new function called button2OnClick, and make it so that the new textview element changes to your name when the changeText button is clicked.

Notes:

You can email me at ddjapri@ayclogic.com if you have any questions!

Details

Date:
September 7
Time:
6:30 pm - 7:30 pm
Event Categories:
,
Verified by MonsterInsights