American Young Coder (AYC)

AYC logo
Loading Events

« All Events

  • This event has passed.

4 PM – Intro To Java – William

March 23 @ 4:00 pm - 5:00 pm

Today We Did
  1. Fixed Android Studio issues
  2. Reviewed last week’s homework
Homework

Continue working on TemperatureConverter:

  1. Finish last week’s homework if you haven’t already: https://www.ayclogic.com/event/4-pm-intro-to-java-william-16/
  2. Add additional temperature conversion options to the Spinner
    1. Navigate to app > res > values > strings.xml
    2. Beneath the app_name string, create an array in the format:
      <array name="conversionTypeOptions">
          <item>...</item>
          ...
          <item>...</item>
      </array>
      
      
    3. Add the following options as items:
      • Fahrenheit to Celcius
      • Celcius to Fahrenheit
      • Celcius to Kelvin
    4. To add these options to the spinner, navigate to the entries attribute under Common Attributes
    5. Set entries as @array/conversionTypeOptions

If you have any questions, please email me at williamsmith@ayclogic.com.

Details

Date:
March 23
Time:
4:00 pm - 5:00 pm
Event Categories:
,
Verified by MonsterInsights