Lecture 2 Interactive DemosCS210 · LECTURE 02
BUILD THE BEER ADVISER

Four ideas students can see and operate.

Each demonstration isolates one connection in the app, then lets the class change it and observe the result.

DEMO 01

Who is responsible?

Click Layout, Resources, Activity, and BeerExpert to see why the app needs each part.

Open demo →
DEMO 02

XML Layout Lab

Change width, alignment, and text while the XML and phone preview update together.

Open demo →
DEMO 03

Hardcoded or Resource?

Switch language and compare hardcoded text with values stored in strings.xml.

Open demo →
DEMO 04

Follow the Click

Choose a beer type, click the button, and watch data move through the Activity and BeerExpert.

Open demo →