From the course: Android Development: Data Binding

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Doing things the old way

Doing things the old way - Android Tutorial

From the course: Android Development: Data Binding

Start my 1-month free trial

Doing things the old way

- So before we jump into using data binding, let's start by taking a look at one of the typical legacy ways of displaying application data in an Android layout. Now, this example should look very familiar if you have any experience building Android apps. So in my ExerciseFiles, I'm going to drag the start version onto Android studio. All right. And you might have to go through a great old sync process to, you know, get things up to date. So with that complete. And what I'm going to do is in my layout section, before we look at any code, I'm going to open up the layout for the main activity. And if I scroll down, you can see that I have some text views and these text views are going to hold data for some weather conditions. Right? So we have the current temperature and then we have the current conditions, then this is going to be the value. And we scroll down, here's the windshield and so on. Okay. So…

Contents