1
00:00:00,330 --> 00:00:07,200
Welcome back and this and the next video, we are going to prepare Cartes, so as you know, we now

2
00:00:07,200 --> 00:00:12,090
can create Bortz, we can create lists in those boards and we can edit those.

3
00:00:12,090 --> 00:00:12,820
We can delete those.

4
00:00:12,840 --> 00:00:14,580
Now it's time to add Cartes as well.

5
00:00:14,580 --> 00:00:17,610
So a list can have multiple cards.

6
00:00:17,880 --> 00:00:19,290
And that's the idea here.

7
00:00:19,300 --> 00:00:25,110
So this could be individual exercises or individual tasks or in this case, individual episodes that

8
00:00:25,110 --> 00:00:25,800
we want to add.

9
00:00:25,830 --> 00:00:31,050
So here I can create a new card, for example, episode one.

10
00:00:32,280 --> 00:00:34,650
And as you can see, the UI changes.

11
00:00:34,650 --> 00:00:38,900
But then of course, when I click the button, stuff happens, but it's not loaded yet.

12
00:00:38,910 --> 00:00:40,890
So that's something that we will have to do later on.

13
00:00:41,100 --> 00:00:46,590
But for now, we can add that functionality here and you can try to do that yourself because you have

14
00:00:46,590 --> 00:00:50,950
seen how to do that with lists and now it's time to do the same thing with cards.

15
00:00:50,950 --> 00:00:52,230
So it's very similar.

16
00:00:52,680 --> 00:00:53,960
And you can try to do that.

17
00:00:53,970 --> 00:01:00,870
Of course, you will have to create a new model, so a card model, and then you will need to adjust

18
00:01:00,870 --> 00:01:06,780
the task model a little bit and pretty much the rest will happen in the task list items adapter.

19
00:01:06,780 --> 00:01:09,130
So if you want, you can try that, of course, task.

20
00:01:09,210 --> 00:01:13,890
This activity also needs to do something, but you can also just follow along.

21
00:01:14,040 --> 00:01:14,510
All right.

22
00:01:14,910 --> 00:01:19,840
So if you really feel good today and you feel like challenging yourself, then try yourself.

23
00:01:20,580 --> 00:01:22,050
OK, so let's get started.

24
00:01:22,080 --> 00:01:26,360
So I think the first thing that we should do is we should create a new model.

25
00:01:26,370 --> 00:01:30,870
So I'm just going to go over to Java and here into models.

26
00:01:30,940 --> 00:01:32,670
I'm going to create a new class.

27
00:01:33,330 --> 00:01:36,410
So here Cutline file class, this one will be Kaat.

28
00:01:36,990 --> 00:01:40,370
So a individual card should be created.

29
00:01:40,380 --> 00:01:46,350
And of course I want to have a data class here, so let's make it the data class.

30
00:01:47,290 --> 00:01:53,790
Because I don't want to have any functions or other members, I just want to have the different variables

31
00:01:53,800 --> 00:01:56,410
and that should be Parslow, of course.

32
00:01:56,890 --> 00:01:59,560
So what could we need about a cart?

33
00:02:00,070 --> 00:02:02,650
Well, we need the name of the cart

34
00:02:05,380 --> 00:02:06,100
then.

35
00:02:06,250 --> 00:02:06,640
What else?

36
00:02:06,640 --> 00:02:07,240
What makes sense?

37
00:02:07,270 --> 00:02:18,640
Well, who created it so created by and then also the volle assigned to.

38
00:02:19,690 --> 00:02:25,950
And that one will be and the relist, because it could be assigned to multiple people, right?

39
00:02:26,290 --> 00:02:34,600
So an array of strings, which will be a great list, by the way, in my case, I keep the card as well

40
00:02:34,600 --> 00:02:36,390
as the tasks super simple.

41
00:02:36,670 --> 00:02:40,840
So I don't have anything about the date, about the order, those kind of things.

42
00:02:40,840 --> 00:02:41,950
I don't have them in here.

43
00:02:42,220 --> 00:02:46,900
So the way we do it now is we do it based on when things were created.

44
00:02:47,230 --> 00:02:49,990
That's something that you might already have noticed here.

45
00:02:49,990 --> 00:02:55,950
So you can see the last thing that you create goes to the beginning of the screen.

46
00:02:56,440 --> 00:03:03,520
So we have an order where the latest created element is the first one in our list here on the left hand

47
00:03:03,520 --> 00:03:03,850
side.

48
00:03:04,450 --> 00:03:06,160
You can, of course, adjust that.

49
00:03:06,160 --> 00:03:12,670
So if you want to have a different set of order, where you then maybe later on drag and drop stuff

50
00:03:12,670 --> 00:03:19,390
around, then you have to adjust your task as well as your card and have some additional information

51
00:03:19,390 --> 00:03:21,990
about, for example, the position in here as well.

52
00:03:22,630 --> 00:03:24,640
But as I said, I'm going to keep it simple.

53
00:03:25,030 --> 00:03:31,480
I'm going to create cards based on when they were created and they will be added to the list accordingly.

54
00:03:32,230 --> 00:03:34,020
OK, so that's the idea here.

55
00:03:34,540 --> 00:03:38,440
We have the card now and of course, we want to make it passable.

56
00:03:38,860 --> 00:03:45,220
And I'm going to use Parcell Bowl so that we can store it right.

57
00:03:45,250 --> 00:03:47,960
So if you want to make something passable, you need to store it.

58
00:03:47,980 --> 00:03:55,120
Now, of course, we need to add the BASTABLE implementation now, depending on the.

59
00:03:56,320 --> 00:04:02,590
Add on that you used to and by the way, I'm using a plugin, as you know, probably, but here some

60
00:04:02,590 --> 00:04:03,360
things are missing.

61
00:04:03,790 --> 00:04:09,730
So let me just paste everything in here and go over real quick or run over it so you can see it.

62
00:04:10,120 --> 00:04:12,310
But we have done this multiple times.

63
00:04:12,310 --> 00:04:16,990
So I think it doesn't make sense for me to go over it in depth or in detail.

64
00:04:16,990 --> 00:04:18,570
So the code is a little different here.

65
00:04:18,579 --> 00:04:21,070
You can see I'm using source restring.

66
00:04:21,070 --> 00:04:22,360
It could also be Passell.

67
00:04:22,360 --> 00:04:23,080
Doesn't matter.

68
00:04:23,530 --> 00:04:25,060
The name here doesn't really matter.

69
00:04:25,390 --> 00:04:28,510
Then we have the restring with double exclamation mark.

70
00:04:28,510 --> 00:04:30,340
Same for the string here as well.

71
00:04:30,340 --> 00:04:31,300
So the created by.

72
00:04:31,540 --> 00:04:33,790
And then we have the assigned two which is an array list.

73
00:04:33,790 --> 00:04:35,800
So create string array list here.

74
00:04:36,250 --> 00:04:40,240
Describe contents returns zero right to Passell here.

75
00:04:40,240 --> 00:04:45,340
We need to write the string, write the string and then write the string list where we then each time

76
00:04:45,340 --> 00:04:49,540
pass in the variables that we created for the card.

77
00:04:49,780 --> 00:04:51,910
And here I'm using equals with that.

78
00:04:52,930 --> 00:05:00,240
So this one here and then the companion object is the creator which creates the card you can see object,

79
00:05:00,250 --> 00:05:08,080
create a card, create from Passell a new array, order to override functions or override one overridden

80
00:05:08,080 --> 00:05:09,220
function, so to speak.

81
00:05:09,640 --> 00:05:10,790
And that's what's happening here.

82
00:05:11,350 --> 00:05:15,550
OK, so depending on the tool that you use, this should be auto generated.

83
00:05:15,550 --> 00:05:18,820
But in my case it doesn't auto generated this way.

84
00:05:18,820 --> 00:05:21,400
So I would still need to make manual changes.

85
00:05:21,400 --> 00:05:26,810
But I will just what I've just shown you how it would look like, what it should look like.

86
00:05:27,370 --> 00:05:29,260
OK, so this is a card now.

87
00:05:29,260 --> 00:05:33,340
We need to adjust our task because our task can now have multiple cards.

88
00:05:33,830 --> 00:05:38,390
OK, so let's go over here and add a new entry here.

89
00:05:38,440 --> 00:05:45,760
Of course, we need to add a comma here at the top and then we say what cards should be an array list

90
00:05:46,060 --> 00:05:47,710
of card elements?

91
00:05:48,580 --> 00:05:51,340
And I'm going to initialize it directly with an empty.

92
00:05:51,340 --> 00:05:55,470
I realized, according to we, of course, need to make changes as well here.

93
00:05:55,480 --> 00:06:07,750
So here I'm going to add Passell thought created type or create type array list.

94
00:06:09,100 --> 00:06:17,130
And here I need to pass and card dot create tert and here of course it's the list and here we need to

95
00:06:17,140 --> 00:06:17,590
come up.

96
00:06:18,190 --> 00:06:26,950
OK, so create type array list with the card and double exclamation mark here at the end as well as

97
00:06:27,160 --> 00:06:27,690
here.

98
00:06:27,790 --> 00:06:37,120
We need to add this line here saying write piped list and what is it.

99
00:06:37,120 --> 00:06:40,510
It's the Cartes list that we created here.

100
00:06:41,500 --> 00:06:43,760
All right, and the rest should stay the same.

101
00:06:45,540 --> 00:06:54,240
Now we can go over to our task list items adductor, because what we want to do here is we want to activate

102
00:06:54,240 --> 00:06:55,080
this part here.

103
00:06:55,080 --> 00:06:58,410
So we want to make this visible this year.

104
00:06:58,420 --> 00:07:01,980
The left more this button here than this element and that one.

105
00:07:02,250 --> 00:07:05,850
So we want to make all of that visible once we click on Add to Cart.

106
00:07:06,240 --> 00:07:06,630
All right.

107
00:07:06,630 --> 00:07:10,830
So let's add the functionality in our function here.

108
00:07:11,160 --> 00:07:14,730
And we need to do that in our unbind view.

109
00:07:14,730 --> 00:07:20,420
Holder So there where we do all of the holder items stuff.

110
00:07:20,430 --> 00:07:26,400
So a bunch of code you can see to the longest function that we've created so far, I think, because

111
00:07:26,640 --> 00:07:30,860
here we have all of the different cases, all of the different items that we use.

112
00:07:30,870 --> 00:07:36,720
So Holder item view, dot, TV and card.

113
00:07:37,650 --> 00:07:42,380
And I want to add and set on Click Listener here said on Click Listener.

114
00:07:42,960 --> 00:07:46,380
So TV ad cart is this button here.

115
00:07:46,400 --> 00:07:47,610
OK, this TextView.

116
00:07:48,710 --> 00:07:54,500
It's not an edited text or anything else, not a button, it's just a text you write we had that before.

117
00:07:54,740 --> 00:08:01,250
And once we click on that, then we want to make this thing here visible, which is a card by itself.

118
00:08:02,520 --> 00:08:03,790
OK, so let's do that.

119
00:08:04,940 --> 00:08:11,570
Let's go ahead and say holder dot item view, dot TV ad card.

120
00:08:13,290 --> 00:08:26,880
Thought visibility should be gone, so the TextView should be gone, Budos gone and the Cevat card,

121
00:08:27,030 --> 00:08:39,450
so holder dot card for or items view thought card view SCV at card visibility should be visible.

122
00:08:39,690 --> 00:08:43,440
So you thought visible.

123
00:08:47,120 --> 00:08:52,660
So basically, we're hiding this at card and would explain this part here, so that's what happens once

124
00:08:52,670 --> 00:08:53,780
you click on that button.

125
00:08:55,520 --> 00:09:01,430
Now we have this button here which cancels the whole process and does the opposite.

126
00:09:01,430 --> 00:09:07,000
So it just displays the at card again, but doesn't display this card view anymore.

127
00:09:07,460 --> 00:09:07,910
So.

128
00:09:08,850 --> 00:09:17,850
We need to implement that as well, of course, here, holder, that item you thought I be close and

129
00:09:17,850 --> 00:09:26,550
hear card name said on Click Listener and here I want to pretty much do the opposite of what we've done

130
00:09:26,550 --> 00:09:27,010
here.

131
00:09:27,030 --> 00:09:29,940
So now this one will be visible.

132
00:09:33,760 --> 00:09:35,650
And the other one will be gone.

133
00:09:38,150 --> 00:09:42,770
All right, and now the magic happens in the next step.

134
00:09:43,130 --> 00:09:47,180
So here this is where the actual creation of the card happens.

135
00:09:47,630 --> 00:09:55,370
So when we click on this button here, then a very similar thing to what we have done here when we're

136
00:09:55,830 --> 00:10:01,630
done editing the list or actually even here when we're done creating the list should happen.

137
00:10:02,330 --> 00:10:04,130
So let's go ahead and copy that.

138
00:10:05,650 --> 00:10:14,240
And put that in here, so this time it's I've done the list name but can't name set on Click Listener.

139
00:10:14,740 --> 00:10:17,470
So here now we get the card name.

140
00:10:17,830 --> 00:10:19,030
And where do we get it from?

141
00:10:19,060 --> 00:10:23,200
Well, from our added text card name.

142
00:10:25,700 --> 00:10:28,280
So here is the card name at Urtext.

143
00:10:30,190 --> 00:10:34,360
From that, we get the string and then we check is the card name not empty?

144
00:10:34,690 --> 00:10:39,430
If it's not empty, then we want to call a function here.

145
00:10:41,460 --> 00:10:44,100
To do add a cart.

146
00:10:45,890 --> 00:10:52,220
OK, so this is what we need to implement, stop, and otherwise we will make a text, please enter

147
00:10:53,150 --> 00:10:54,770
a card name.

148
00:10:57,570 --> 00:11:02,940
All right, so now let's implement this function, we need to build it, where would we build it?

149
00:11:03,300 --> 00:11:05,820
Well, let's see where we build this other function.

150
00:11:05,820 --> 00:11:07,710
This update, Paschalis, for example.

151
00:11:08,040 --> 00:11:08,940
It's in the context.

152
00:11:08,960 --> 00:11:09,790
What is the context?

153
00:11:09,810 --> 00:11:12,630
Well, the context is the task list activity.

154
00:11:12,630 --> 00:11:17,270
So let's go over to the task list activity and actually create a function there.

155
00:11:18,090 --> 00:11:18,480
All right.

156
00:11:18,490 --> 00:11:22,710
So let's go ahead and create a new function at the very bottom.

157
00:11:22,950 --> 00:11:27,990
I'm just going to call this one fun add cart to task list.

158
00:11:28,650 --> 00:11:34,770
And here we need to pass on the position then the card name, which will be a string.

159
00:11:36,710 --> 00:11:37,760
And that's it.

160
00:11:38,210 --> 00:11:42,140
OK, so we don't need much more here and what do we want to do?

161
00:11:42,170 --> 00:11:44,960
Well, we want to remove the last item.

162
00:11:44,970 --> 00:11:49,310
So it's pretty much the same thing that we have done here with this board list.

163
00:11:49,310 --> 00:11:52,850
So let's do that remove add board task list.

164
00:11:52,970 --> 00:11:56,870
As you know, we get rid of stuff here with that and then.

165
00:11:59,210 --> 00:12:10,550
We can create a new card assigned users list, which will be an array list of string, and I'm going

166
00:12:10,550 --> 00:12:12,020
to assign an array list here.

167
00:12:13,810 --> 00:12:22,960
For now, a. list, and then we can add something to it, so Kaat assigned users list that ad.

168
00:12:24,600 --> 00:12:29,400
And here we get it from the master class, get current.

169
00:12:30,880 --> 00:12:35,950
User, so here, fast or clustered, get current user ID.

170
00:12:37,060 --> 00:12:43,270
So this will give us the assigned users, if you recall, if we look at a card, we can see we need

171
00:12:43,270 --> 00:12:48,790
to get an array list of strings which is assigned to so all of the people that this card is assigned

172
00:12:48,790 --> 00:12:49,060
to.

173
00:12:49,870 --> 00:12:50,290
All right.

174
00:12:50,300 --> 00:12:52,750
So that's what we do with this here.

175
00:12:53,110 --> 00:12:57,970
So we get the current user and we add that to the users who this card is assigned to because it can

176
00:12:57,970 --> 00:12:59,200
be assigned to multiple users.

177
00:12:59,200 --> 00:12:59,500
Right.

178
00:12:59,830 --> 00:13:07,260
And then we can create the card Volkert, which will be based on the card name.

179
00:13:07,270 --> 00:13:08,500
Where do we get the card name from?

180
00:13:08,530 --> 00:13:10,710
Well, we get that from the here from the top.

181
00:13:11,140 --> 00:13:13,680
And by the way, let's import card here so that we can use it.

182
00:13:14,140 --> 00:13:18,640
So we need a card name and we need to get the current user.

183
00:13:20,270 --> 00:13:26,330
Because that's the one who created it, so we can just go ahead and say fire store class.

184
00:13:27,900 --> 00:13:34,920
And at that point, maybe it makes sense to store that in a variable so that it's constantly available,

185
00:13:34,920 --> 00:13:35,220
right?

186
00:13:35,700 --> 00:13:36,680
That would be an option.

187
00:13:36,930 --> 00:13:40,690
And then we also need to pass in the card assigned user list.

188
00:13:41,570 --> 00:13:46,800
OK, so all the three values, if you look at it, the name created by and assigned to.

189
00:13:47,730 --> 00:13:49,240
OK, so that's what we pass here.

190
00:13:49,260 --> 00:13:54,810
The name of the card, the person who created the card, which is the person who is currently logged

191
00:13:54,810 --> 00:14:00,330
in, and then the card assigned users list, which currently just has the creator in it.

192
00:14:00,510 --> 00:14:04,000
OK, because that's the only information we have so far.

193
00:14:04,290 --> 00:14:07,740
Later on we can of course, adjusted, but for now that's going to be it.

194
00:14:08,340 --> 00:14:14,970
OK, and now we can go ahead and create a card list, which will be.

195
00:14:17,710 --> 00:14:24,190
The M board's details thart task list head to position that we're currently at.

196
00:14:24,880 --> 00:14:27,160
So, as you know, we have multiple positions now.

197
00:14:27,160 --> 00:14:30,340
So this one is the position of the list.

198
00:14:30,370 --> 00:14:32,950
So it is at least one list to list three and so forth.

199
00:14:33,190 --> 00:14:37,470
And then we have another position, which is the position within the list of cards.

200
00:14:37,670 --> 00:14:41,340
OK, so this is the task list position that we currently are at.

201
00:14:41,800 --> 00:14:45,310
And there we need the Cartes.

202
00:14:47,220 --> 00:14:55,530
OK, so if we look at the list you can see here at list consists of tasks, a task consists of cards

203
00:14:55,890 --> 00:14:59,060
and that's basically what we have here.

204
00:14:59,070 --> 00:15:07,830
We get the cards from the task list, which is inside of wards, and then we can use that card list

205
00:15:09,810 --> 00:15:11,000
and add something to it.

206
00:15:11,960 --> 00:15:13,390
And what will we add?

207
00:15:13,760 --> 00:15:19,680
Well, we add the card that we just created, so add the card.

208
00:15:19,730 --> 00:15:23,000
So if there was nothing in there, then this will be the first card.

209
00:15:23,000 --> 00:15:28,310
But then if there were cards in there, this won't be the next card that will be added to our cards

210
00:15:28,310 --> 00:15:28,710
list.

211
00:15:29,450 --> 00:15:29,860
All right.

212
00:15:29,870 --> 00:15:35,810
And at that point, we can create a task so we can go ahead and say a task should be task.

213
00:15:37,080 --> 00:15:42,750
With M. board details that task list at the position.

214
00:15:46,500 --> 00:15:52,530
Title, so this way we get the title of the task list and then.

215
00:15:53,570 --> 00:15:55,430
What else do we need when we create a task?

216
00:15:55,850 --> 00:16:00,470
Well, we need to know who created it so we can just go ahead and say.

217
00:16:01,420 --> 00:16:11,440
Created by so was the creator DOT, created by and then we can pass and the cast list that we just prepared.

218
00:16:11,710 --> 00:16:12,720
So we created it.

219
00:16:12,730 --> 00:16:15,610
We got the old cast that we had.

220
00:16:15,620 --> 00:16:19,420
We added the new car that we just created before hand.

221
00:16:19,420 --> 00:16:22,620
And then we created the task based on that.

222
00:16:23,440 --> 00:16:28,740
And now we can assign that task that we just created as the task for the current position.

223
00:16:29,020 --> 00:16:32,400
So we basically just replace the old task with the new task.

224
00:16:32,410 --> 00:16:33,590
But the update, the task.

225
00:16:33,620 --> 00:16:37,660
So this is just to update the task, which also contains the latest cast list.

226
00:16:37,900 --> 00:16:38,320
All right.

227
00:16:38,680 --> 00:16:43,660
So here we are just going to say, OK, let's go ahead and use the task list at the position.

228
00:16:45,030 --> 00:16:46,290
Equals TASC.

229
00:16:47,460 --> 00:16:52,620
So I see that this could potentially be the most complex part if you try to build it yourself, this

230
00:16:52,620 --> 00:16:57,470
will be probably the most complex part to make this connection between the three elements right.

231
00:16:57,480 --> 00:17:01,230
Between the board to task and the actual card.

232
00:17:02,680 --> 00:17:05,770
All right, so then we can now.

233
00:17:06,730 --> 00:17:11,079
Go ahead and show the progress and update the task list.

234
00:17:11,119 --> 00:17:17,410
So basically what we've done here as well, because now we have the latest version of the boards and

235
00:17:17,410 --> 00:17:20,560
that's a cool thing about the board, because the board contains everything, right?

236
00:17:20,890 --> 00:17:22,030
The board is the parent.

237
00:17:22,420 --> 00:17:26,140
The board is the parent of the tasks and the task is the parent of the card.

238
00:17:26,170 --> 00:17:29,670
So if we have the board, we have the task and we have the cards.

239
00:17:29,670 --> 00:17:34,390
So we don't need to update them individually, but we can just put everything into the board, which

240
00:17:34,390 --> 00:17:39,520
we do here, and then we can just say, OK, let's update the board.

241
00:17:42,040 --> 00:17:50,110
OK, now we can test that on our device, but see if it's actually creating the task, even though,

242
00:17:50,110 --> 00:17:55,790
of course, we have no way of displaying tasks yet, so are actually the cards yet.

243
00:17:56,230 --> 00:18:00,970
So we still need to add that functionality, but step by step.

244
00:18:00,970 --> 00:18:01,210
Right.

245
00:18:01,440 --> 00:18:06,520
So, first of all, created in the database, we check the database out if it's there, and then later

246
00:18:06,520 --> 00:18:09,040
on we can get that from the database.

247
00:18:10,760 --> 00:18:11,930
OK, so there we are.

248
00:18:12,050 --> 00:18:15,420
Let's go to the board with image, let's add a new card, OK?

249
00:18:15,440 --> 00:18:16,550
The button seems to work.

250
00:18:16,940 --> 00:18:17,790
Let's cancel it.

251
00:18:18,170 --> 00:18:19,070
OK, that worked.

252
00:18:19,670 --> 00:18:24,950
Now, let's call this one card, one stupid name, but good enough.

253
00:18:25,100 --> 00:18:26,210
Let's press this button.

254
00:18:27,210 --> 00:18:31,140
And currently, nothing happens, and that is, of course, because we're not calling this function,

255
00:18:31,470 --> 00:18:32,960
so you can see this function is great.

256
00:18:33,360 --> 00:18:38,280
If it's great, it's never called that's it's always a good indicator that you miss some code.

257
00:18:38,280 --> 00:18:39,180
And that's the way to do that.

258
00:18:39,180 --> 00:18:46,680
We prepared right in our task list adaptor where we said, OK, here, if it's not empty here at the

259
00:18:46,680 --> 00:18:48,620
bottom, add a card.

260
00:18:48,870 --> 00:18:51,660
So let's call this function and we get that from the context.

261
00:18:51,660 --> 00:18:55,290
Right context dot at card to task list.

262
00:18:56,820 --> 00:18:59,430
Like that, and, of course, it needs some information.

263
00:18:59,460 --> 00:19:00,990
So what kind of information does it need?

264
00:19:00,990 --> 00:19:05,430
It needs to position and the car to name, so let's give it the position and card name.

265
00:19:05,940 --> 00:19:06,420
So.

266
00:19:08,600 --> 00:19:15,740
It's basically the position and card name, because the position, it's the same name, right?

267
00:19:15,750 --> 00:19:21,890
It's the position of the here at the very top of the unbind view holder.

268
00:19:22,160 --> 00:19:30,020
And it's the card name which we just prepared a second ago, which we get from the added text.

269
00:19:30,380 --> 00:19:31,490
OK, now let's run it again.

270
00:19:33,280 --> 00:19:36,900
OK, so let's load the board again.

271
00:19:38,520 --> 00:19:40,430
Let's create a card.

272
00:19:40,470 --> 00:19:43,590
I'm going to call this one card one, let's press the button this time.

273
00:19:43,600 --> 00:19:44,220
Please wait.

274
00:19:44,220 --> 00:19:44,790
Please wait.

275
00:19:45,270 --> 00:19:46,210
All right, it's gone.

276
00:19:46,230 --> 00:19:47,550
Now, let's look in the database.

277
00:19:48,640 --> 00:19:50,470
And we can see we have a task list.

278
00:19:51,660 --> 00:19:54,750
And it's out of this task that we have a cart.

279
00:19:55,910 --> 00:20:02,600
Which is called card one, which was created by that person and which is assigned to that person, which

280
00:20:02,600 --> 00:20:09,110
is the creator, which is the only user that we have, which is Homer or Dennis, a Gmail account.

281
00:20:09,820 --> 00:20:12,090
OK, so that seems to work.

282
00:20:12,230 --> 00:20:17,840
Now we just need to retrieve the cards to also display them, because just storing them is not going

283
00:20:17,840 --> 00:20:18,340
to be enough.

284
00:20:18,350 --> 00:20:18,620
Right.

285
00:20:18,840 --> 00:20:21,410
But you can already see how the whole structure comes together.

286
00:20:21,410 --> 00:20:21,680
Right.

287
00:20:21,700 --> 00:20:23,090
So we have decided to.

288
00:20:23,360 --> 00:20:26,110
So a board is assigned to someone that's created by someone.

289
00:20:26,120 --> 00:20:27,250
There's an image for the board.

290
00:20:27,260 --> 00:20:28,010
It has a name.

291
00:20:28,280 --> 00:20:29,900
Then it has a task list.

292
00:20:30,230 --> 00:20:37,770
In our case, we only have one entry here in the task list and then it has a bunch of cards.

293
00:20:37,790 --> 00:20:44,300
Well, the task this is created see title list one that created by the person and then it has a bunch

294
00:20:44,300 --> 00:20:45,530
of cards in there.

295
00:20:46,440 --> 00:20:49,820
OK, so that is it for now.

296
00:20:49,820 --> 00:20:51,500
And I see you in the next video.

