From the course: Agile Software Development: Pair and Mob Programming

Unlock the full course today

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

Scenario: Add a complex feature

Scenario: Add a complex feature

From the course: Agile Software Development: Pair and Mob Programming

Start my 1-month free trial

Scenario: Add a complex feature

- Now we know where in the code that photo URL is loaded. Let's just quickly take a look how it works before we decide how to use it on the other screen. - Okay. - So here, on this row, we have that whole bit corresponding to ListTitle on line 86. We have a couple of attributes here. Which one do you think we are going to be needing? - Well, I think it would be the code in lines 87-89. That's the photo URL. Then, if I understand correctly, that's a ternary operator, which is a conditional in dart, which is new to me, but I think I get that right. - Yeah, very good! It's very common in other languages as well. So, what we're doing here is making sure that we check that we actually have a photo URL before we load it using this network operator. - Cool. - If we don't have it, then we just don't display anything. - Okay. - Great, and now we want to do it on the other screen. So, let's go back there. So, on this screen, we are actually showing all the different candidates in this contest…

Contents