1
00:00:00,270 --> 00:00:05,760
Hi everybody in this theater all we're going to go ahead and create another Android application.

2
00:00:05,760 --> 00:00:06,650
So just click on this.

3
00:00:06,690 --> 00:00:15,420
Start in your Android studio project and here for the application name just a pin here app 44 and then

4
00:00:15,420 --> 00:00:17,120
click on next here.

5
00:00:17,190 --> 00:00:20,960
You can actually choose the minimum SDK for your application.

6
00:00:21,090 --> 00:00:29,430
So here just use the API 16 Android 4.1 jellybean as you can see here and then click on next and here

7
00:00:29,490 --> 00:00:34,360
you can actually choose Blancher activity or you can actually choose the empty activity.

8
00:00:34,370 --> 00:00:42,150
Shape this time choose this activity here empty activity and then click next and now click on finish.

9
00:00:42,420 --> 00:00:46,040
So as you can see here now our application is actually created.

10
00:00:46,200 --> 00:00:51,470
So let's actually double click on these arrays folder here and then double click and this layout folder.

11
00:00:51,600 --> 00:00:58,050
And as you can see here this time we have only one example file and the name of this file is activity.

12
00:00:58,080 --> 00:00:59,330
Underline that example.

13
00:00:59,370 --> 00:00:59,990
OK.

14
00:01:00,180 --> 00:01:03,070
So here selectees hello world takes you here.

15
00:01:03,240 --> 00:01:05,740
And then press on delete key on your keyboard.

16
00:01:06,030 --> 00:01:11,940
So now you want to actually design the user interface of our application.

17
00:01:11,940 --> 00:01:18,950
So first of all let's actually drag our linearly out vertical at the center of this relatively out here.

18
00:01:19,350 --> 00:01:24,460
And as you can see here we have a linearly out vertical inside these relatively out here.

19
00:01:24,510 --> 00:01:32,410
OK so now let's actually drag a plaintext here inside these textfield.

20
00:01:32,410 --> 00:01:34,520
Here we have some text fields.

21
00:01:34,680 --> 00:01:36,450
So just select is plain text.

22
00:01:36,450 --> 00:01:38,270
This is actually an edit text.

23
00:01:38,340 --> 00:01:43,650
Select it and put it at the center at the center of this linearly alphabetical.

24
00:01:43,650 --> 00:01:44,130
OK.

25
00:01:44,370 --> 00:01:49,390
So as you can see here these attributes are related to these text here.

26
00:01:49,420 --> 00:01:57,490
They lay out with as much apparent and delay out height is raw content and lay out gravity's center

27
00:01:57,660 --> 00:01:59,060
underline horizontal.

28
00:01:59,070 --> 00:01:59,920
As you can see here.

29
00:02:00,000 --> 00:02:01,570
OK this is very important.

30
00:02:01,890 --> 00:02:06,580
So now let's actually double click on these are the text here.

31
00:02:06,660 --> 00:02:13,560
Double click on it and for the ID just type in here it is the name and then press on Enter key on your

32
00:02:13,560 --> 00:02:14,580
keyboard.

33
00:02:14,580 --> 00:02:19,300
So let's actually try and order textfield inside this linearly as vertical.

34
00:02:19,440 --> 00:02:26,110
So just select the plain text here and then put it at the center of this linearly at vertical.

35
00:02:26,220 --> 00:02:26,810
OK.

36
00:02:27,030 --> 00:02:28,180
And double click on it.

37
00:02:28,380 --> 00:02:35,750
And this time for the ID just type in here EDT email and then press on Enter key on your keyboard.

38
00:02:36,030 --> 00:02:42,060
So now inside the properties that are actually related only to the EDT e-mail here you can actually

39
00:02:42,060 --> 00:02:43,610
find the input type.

40
00:02:43,620 --> 00:02:44,060
OK.

41
00:02:44,160 --> 00:02:51,320
So let's actually find the input type attribute that is related to this actually to this edit text here.

42
00:02:51,330 --> 00:02:53,790
So as you can see here this is in pool type.

43
00:02:53,790 --> 00:02:55,140
Just open it here.

44
00:02:55,380 --> 00:03:02,100
And as you can see here we can actually specify the type of the input that this text actually accepts.

45
00:03:02,100 --> 00:03:02,640
OK.

46
00:03:02,670 --> 00:03:07,000
So just select these text email address.

47
00:03:07,170 --> 00:03:07,900
OK.

48
00:03:08,280 --> 00:03:09,230
EDT email.

49
00:03:09,320 --> 00:03:10,820
And for the info type.

50
00:03:10,860 --> 00:03:14,700
Select this text email address and then check this checkbox.

51
00:03:14,760 --> 00:03:21,090
OK so now let's actually right and are there any text into this linearly or vertical.

52
00:03:21,120 --> 00:03:27,810
So just select it here and then put it at the center of this linearly at vertical and then at this time

53
00:03:27,810 --> 00:03:34,130
double click on it and of for the ID just type in here EDT username.

54
00:03:34,870 --> 00:03:35,410
OK.

55
00:03:35,550 --> 00:03:38,450
And then present Enter key on your keyboard.

56
00:03:39,010 --> 00:03:44,700
And now let's actually drag another text into this linearly or vertical.

57
00:03:44,730 --> 00:03:51,870
So just select this one here and put it at the center of this linearly as a vertical WB it and for the

58
00:03:51,870 --> 00:03:55,920
ID you just type in here EDT a password.

59
00:03:57,000 --> 00:03:59,630
And then our present Enter key on your keyboard.

60
00:03:59,640 --> 00:04:07,230
So now for the info type of this edit text here just typing in as you can see here we have some attributes

61
00:04:07,620 --> 00:04:08,870
that are related to this.

62
00:04:08,880 --> 00:04:09,940
It is e-passport.

63
00:04:10,020 --> 00:04:17,700
So for the input type select text password as you can see here we have these text passport attributes

64
00:04:17,730 --> 00:04:18,270
here.

65
00:04:18,360 --> 00:04:20,670
Just select it and check the checkbox here.

66
00:04:20,820 --> 00:04:21,610
OK.

67
00:04:21,840 --> 00:04:27,780
So here you are actually specifying the input type that this text actually accepts.

68
00:04:27,810 --> 00:04:29,950
Ok text passport.

69
00:04:30,180 --> 00:04:34,330
Now this actually gives some hints to these these actually are text fields.

70
00:04:34,340 --> 00:04:35,100
Select this one.

71
00:04:35,100 --> 00:04:36,340
Here it is the name.

72
00:04:36,540 --> 00:04:39,410
And now let's actually find the hint attributes.

73
00:04:39,570 --> 00:04:45,920
So as you can see here we have actually a Heyns attribute that is related to this text field here.

74
00:04:45,930 --> 00:04:49,860
So here for the hint of these added text here.

75
00:04:49,860 --> 00:04:58,950
Just type in here please enter your name and then press an entity on your keyboard.

76
00:04:59,100 --> 00:05:04,070
So as here we have actually a hint that is related to these edits here.

77
00:05:04,120 --> 00:05:05,800
Please enter your username.

78
00:05:06,080 --> 00:05:07,590
Just select a second.

79
00:05:07,610 --> 00:05:10,490
Text here and this time for the hint.

80
00:05:10,520 --> 00:05:21,880
Just type in here please enter your password OK and then present Enter key on your keyboard and this

81
00:05:21,880 --> 00:05:24,180
time select this editor edit text here.

82
00:05:24,370 --> 00:05:26,860
And for the Heyns just typing here please

83
00:05:30,970 --> 00:05:43,650
enter your username and then press Enter key on your keyboard and then select this text here for the

84
00:05:43,660 --> 00:05:46,140
hint just type in here please.

85
00:05:48,580 --> 00:05:58,170
Enter your password and then press on and Turkey on your keyboard.

86
00:05:58,290 --> 00:05:59,150
OK.

87
00:05:59,520 --> 00:06:01,560
So hopefully that makes sense.

88
00:06:01,560 --> 00:06:05,330
So now let's actually track an image into our project.

89
00:06:05,340 --> 00:06:05,850
OK.

90
00:06:06,060 --> 00:06:12,180
So here is our project structure here and now I want to actually drag an image into our projects on

91
00:06:12,180 --> 00:06:12,780
my desktop.

92
00:06:12,780 --> 00:06:16,220
I have this image so I just need to copy this image here.

93
00:06:16,230 --> 00:06:22,670
I just need to double click on it and then select this copy tiger that PND and then here select is adorable

94
00:06:22,680 --> 00:06:29,390
for that as you can see double click on it and here paste this image here and then click on OK.

95
00:06:29,730 --> 00:06:35,140
So as you can see here now I have an image in my project inside this tribal folder.

96
00:06:35,400 --> 00:06:40,480
So now let's actually write an image view into this linearly or horizontally.

97
00:06:40,530 --> 00:06:46,530
So as you can see here this is our image view inside these widgets folder selected and then put it at

98
00:06:46,530 --> 00:06:49,330
the center of this linearly out vertical.

99
00:06:49,380 --> 00:06:51,630
So as you can see here this is an image view.

100
00:06:52,140 --> 00:06:59,910
And now for the layout video let's actually assign the value one hundred and for the layout height assigned

101
00:06:59,910 --> 00:07:03,780
a value 100 and then press on in Turkey on your keyboard.

102
00:07:03,780 --> 00:07:06,980
So now it's actually double click on this image view here.

103
00:07:07,140 --> 00:07:14,260
And first of all for the ID just type in here I m g animal and then press on Enter key on your keyboard.

104
00:07:14,490 --> 00:07:21,680
And now let's actually select this as our See here just select this button here and select this project

105
00:07:21,680 --> 00:07:25,860
tab here and then it's actually searched for our image.

106
00:07:25,890 --> 00:07:28,770
Now I just need to type in Tiger.

107
00:07:29,190 --> 00:07:32,220
So as you can see here this is our tiger here.

108
00:07:32,430 --> 00:07:34,040
And then click on OK.

109
00:07:34,140 --> 00:07:37,110
So here as you can see this is our target image.

110
00:07:37,170 --> 00:07:41,970
So now of here inside the properties that are related to this image view.

111
00:07:42,150 --> 00:07:45,010
Now let's actually find this cage type here.

112
00:07:45,090 --> 00:07:50,140
So as you can see here we have these scale type here and selectees fit x y.

113
00:07:50,320 --> 00:07:51,070
OK.

114
00:07:51,240 --> 00:07:59,570
So it's going to fit this image up according to the it according to the x and y of this image.

115
00:07:59,580 --> 00:08:00,630
OK.

116
00:08:01,060 --> 00:08:08,150
And now let's actually let's try actually our radio group into this linearly out.

117
00:08:08,210 --> 00:08:08,870
Well.

118
00:08:08,990 --> 00:08:15,680
So as you can see here inside these containers folder I have this radio group here just select this

119
00:08:15,870 --> 00:08:18,380
radio group here and put it below.

120
00:08:18,390 --> 00:08:20,100
These are images you hear.

121
00:08:20,100 --> 00:08:20,810
OK.

122
00:08:20,880 --> 00:08:25,910
Just put it at the left of this image in the left of this linearly outwards the collocate this time.

123
00:08:25,920 --> 00:08:31,120
Put it in the left OK at the left of this linear lay out vertical.

124
00:08:31,290 --> 00:08:38,640
So as you can see here I have these radio here and now let's actually drag two radio buttons into these

125
00:08:38,820 --> 00:08:39,920
radio group here.

126
00:08:40,050 --> 00:08:45,080
So as you can see here inside these widgets folder I have these are radio groups.

127
00:08:45,240 --> 00:08:51,690
Just select it and put it inside this radio group here inside these componentry section.

128
00:08:51,750 --> 00:08:54,210
So as you can see here I have this radio call up here.

129
00:08:54,330 --> 00:09:01,860
Let's actually try another radio button into this radio group here and here as you can see I have two

130
00:09:01,860 --> 00:09:05,350
radio buttons these are radio group here.

131
00:09:05,520 --> 00:09:12,300
So just select the first radio button and then double click on it and for the text just typing here

132
00:09:12,340 --> 00:09:22,320
made and for the ID just type in here our radio radio made and then press on until key on your keyboard

133
00:09:22,830 --> 00:09:29,750
and then lets actually select the second radio button here for the text just typing here female.

134
00:09:30,390 --> 00:09:35,270
And then for the ID just type in here radio female.

135
00:09:36,210 --> 00:09:39,830
And then our person entelechy on your keyboard.

136
00:09:40,350 --> 00:09:46,100
So now let's actually drag about him into this linearly out vertical.

137
00:09:46,170 --> 00:09:51,630
So as you can see here I have this button inside these widgets folder and select it just put it inside

138
00:09:51,840 --> 00:09:56,580
at the center of this linearly out vertical as you can see here.

139
00:09:56,580 --> 00:09:59,740
So as you can see here this is our button here.

140
00:10:00,270 --> 00:10:12,150
And for the text just typing here at the values at the values and for the idea just type in here between

141
00:10:12,310 --> 00:10:17,700
that and then press on Enter key on your keyboard.

142
00:10:17,700 --> 00:10:23,680
So now as you can see here the design of our user interface is actually finished.

143
00:10:23,700 --> 00:10:29,550
So now let's actually go inside our main activity the java file here and now we can actually put in

144
00:10:29,580 --> 00:10:30,950
our own codes here.

145
00:10:30,990 --> 00:10:31,530
OK.

146
00:10:31,530 --> 00:10:37,830
Now inside the main activity class I'm going to actually pasting some lines of code here and then I'm

147
00:10:37,830 --> 00:10:40,450
going to explain to you what's going on here.

148
00:10:40,470 --> 00:10:44,900
So as you can see here these are the lines of code that I actually pasted here.

149
00:10:44,910 --> 00:10:51,300
First of all I actually declared an object of type takes text and its name is it is the name again.

150
00:10:51,330 --> 00:10:53,900
I have another object of type in the text.

151
00:10:54,000 --> 00:10:57,750
It is email it it's username and password.

152
00:10:57,810 --> 00:10:58,360
OK.

153
00:10:58,590 --> 00:11:00,760
And here I have an image for you.

154
00:11:00,810 --> 00:11:01,380
OK.

155
00:11:01,380 --> 00:11:05,410
So here I actually declared an object of type image.

156
00:11:05,640 --> 00:11:07,810
And its name is IMJ animal.

157
00:11:07,950 --> 00:11:15,520
And here I have an object of type radio group as you can see here and its name is radio group bta.

158
00:11:15,540 --> 00:11:22,620
And as you can see here gender's types are here I actually declarers actually created an object of type

159
00:11:22,680 --> 00:11:25,800
strange and its name is gender type.

160
00:11:25,860 --> 00:11:26,480
OK.

161
00:11:26,520 --> 00:11:35,190
And I assigned an empty value to this object located this variable and here as you can see I have a

162
00:11:35,190 --> 00:11:37,900
constant of type integer.

163
00:11:38,130 --> 00:11:38,730
OK.

164
00:11:38,790 --> 00:11:45,700
And its name is image request code and I assigned the value of 1000 to this of value.

165
00:11:45,730 --> 00:11:48,720
So I'll talk more about this valuable later.

166
00:11:48,810 --> 00:11:56,460
But for now I'll just put this value here put this a constant here inside your main activity class and

167
00:11:56,460 --> 00:12:03,950
here as you can see I have another object and other valuable of type 3 and its name is photo path.

168
00:12:03,960 --> 00:12:11,340
OK the path of the photo and I assigned antibodies to these valuable and here as you can see I actually

169
00:12:11,340 --> 00:12:16,030
declared an object of type map and its name is bitmap.

170
00:12:16,080 --> 00:12:16,770
OK.

171
00:12:16,800 --> 00:12:19,070
So here inside is uncreate Meffert.

172
00:12:19,080 --> 00:12:24,960
I'm going to actually instantiate these objects that I actually declared inside these main activity

173
00:12:24,960 --> 00:12:25,630
class.

174
00:12:25,860 --> 00:12:31,590
So here inside this uncreate class I'm going to pasting some lines of code and then I'm going to explain

175
00:12:31,590 --> 00:12:33,710
to you what's going on here.

176
00:12:33,840 --> 00:12:40,110
So as you can see here these are the lines of code that I actually pasted inside this uncreate Smurfette

177
00:12:40,140 --> 00:12:42,030
in our main activity class.

178
00:12:42,030 --> 00:12:48,310
So first of all I actually instantiated this EDT named Eddie takes it it you name it it takes it find

179
00:12:48,310 --> 00:12:52,150
you by ID or that Id that it is you name it its e-mail.

180
00:12:52,320 --> 00:12:59,670
And here as you can see our ID does it it team it to username or thought Id dot it its user name it

181
00:12:59,670 --> 00:13:03,830
if he has spurred our thought id that it is the password.

182
00:13:03,900 --> 00:13:07,560
I am animal Artaud ID that I am the animal.

183
00:13:07,830 --> 00:13:14,490
And here as you can see I actually instantiated this radio group object radio group or that ID that

184
00:13:14,490 --> 00:13:15,110
radio group.

185
00:13:15,120 --> 00:13:22,980
So as you can see here there is an error here and you haven't specified an ID for this radio group object.

186
00:13:22,980 --> 00:13:27,080
So let's actually go back to our activity underline mean I mean that exemplified.

187
00:13:27,390 --> 00:13:33,220
And this actually selectees a radio group here inside our componentry section here.

188
00:13:33,760 --> 00:13:39,340
And now let's actually find the attributes that is related to this radio group here.

189
00:13:39,360 --> 00:13:45,810
So just select these attribute as you can see we have an id attribute related to this radio group and

190
00:13:45,810 --> 00:13:52,690
for the ID just type in here the radio group and then press enter key on your keyboard.

191
00:13:53,160 --> 00:13:59,070
So now let's actually go back to our main activity class and now as you can see this java file is now

192
00:13:59,070 --> 00:14:02,020
recognizing this radio group ID.

193
00:14:02,100 --> 00:14:06,140
OK Art that ID that radio group and here we have.

194
00:14:06,240 --> 00:14:14,150
At our thoughts ideas bitti and at and here as you can see in line 45 I am making disport spot in dispute

195
00:14:14,160 --> 00:14:14,440
here.

196
00:14:14,460 --> 00:14:17,230
And as you can see here this is our PTEN at.

197
00:14:17,280 --> 00:14:22,100
Ok I am making this part and I'll listen to the clicks of the user.

198
00:14:22,110 --> 00:14:26,700
So BT aren't at that set on ticketless and our main activity at this.

199
00:14:26,810 --> 00:14:27,470
OK.

200
00:14:27,750 --> 00:14:34,080
And here as you can see I have a radio group that's set up change our listener so here as you can see

201
00:14:34,080 --> 00:14:41,070
inside our activity underline minute example I want to actually make these radio buttons a listener

202
00:14:41,280 --> 00:14:43,190
or two that actually clicks of the user.

203
00:14:43,230 --> 00:14:48,860
So whenever the use of checks or uncheck these are actually these radio buttons.

204
00:14:49,050 --> 00:14:49,740
OK.

205
00:14:50,010 --> 00:14:55,320
It's going to actually listen to those touches and then it's going to respond accordingly with whether

206
00:14:55,320 --> 00:14:57,560
it is actually checked or unchecked.

207
00:14:57,570 --> 00:15:03,300
So as you can see here for that purpose of any to actually make this radio group and unchecked change

208
00:15:03,330 --> 00:15:09,810
listener so as you can see here it is an error here and here as you can see I am not on any animal that

209
00:15:09,810 --> 00:15:11,100
sits on click listener.

210
00:15:11,100 --> 00:15:13,330
So again I am making this image.

211
00:15:13,400 --> 00:15:15,040
This is your animal here.

212
00:15:15,050 --> 00:15:16,990
A listener to the clicks of the user.

213
00:15:17,100 --> 00:15:18,100
OK.

214
00:15:18,100 --> 00:15:25,620
And here I am instantiating this bitmap object so bitmap assignment operator bitmap factory to decode

215
00:15:25,670 --> 00:15:26,580
the resource.

216
00:15:26,910 --> 00:15:33,270
And for the first argument you need to specify the resources of our application get resources.

217
00:15:33,540 --> 00:15:40,560
And here we need to specify that the image inside our resources are thought tribal thought Tiger image

218
00:15:40,590 --> 00:15:43,850
as you can see here and here I am making.

219
00:15:44,070 --> 00:15:47,170
I am actually setting this image up for this image view.

220
00:15:47,340 --> 00:15:51,190
I am I am the animal that set image bitmap bitmap.

221
00:15:51,290 --> 00:15:54,910
OK so now as you can see we have an error here.

222
00:15:54,960 --> 00:15:56,210
We have three errors.

223
00:15:56,220 --> 00:15:58,080
First of all we set that up.

224
00:15:58,230 --> 00:16:05,610
We want to make the SBT an add button or listeners to the clicks of the user and we assigned this context.

225
00:16:05,610 --> 00:16:11,280
As you can see here as an argument to dismiss that said unclick listener but here in our class we need

226
00:16:11,280 --> 00:16:14,670
to actually implement the unclick listener interface.

227
00:16:14,870 --> 00:16:15,370
OK.

228
00:16:15,570 --> 00:16:18,590
So that's the at this error is going to be eliminated.

229
00:16:18,840 --> 00:16:29,030
So here in our class main activity extends app compress activity implements implements on click listener

230
00:16:29,970 --> 00:16:34,180
uncle listener as you can see here we have two unclick listener interface.

231
00:16:34,200 --> 00:16:37,770
The first one is for the view and the second one is for the dialog.

232
00:16:37,920 --> 00:16:43,290
Just select the first one that is actually for the view view that on click the center and then press

233
00:16:43,290 --> 00:16:45,040
the Enter key on your keyboard.

234
00:16:45,060 --> 00:16:49,400
So so now as you can see it says implements we all thought unclick listener.

235
00:16:49,450 --> 00:16:49,940
OK.

236
00:16:50,150 --> 00:16:52,960
And now as you can see here this era is gone.

237
00:16:53,030 --> 00:16:56,510
And as you can see here and here we have we don't have any error here.

238
00:16:56,790 --> 00:17:02,670
As you can see we are also we are also making this IMT animal or animal a listener to the clicks of

239
00:17:02,670 --> 00:17:03,340
the user.

240
00:17:03,600 --> 00:17:10,530
But here as you can see we have an error because we need to actually implement the unchecked change

241
00:17:10,590 --> 00:17:14,270
listener interface that is related to the radio group.

242
00:17:14,340 --> 00:17:19,810
So now let's actually put a comma here after this view that unclick listener interface.

243
00:17:19,980 --> 00:17:30,090
And then here I just need to type in a radio group Radio Group dots on checked change a listener and

244
00:17:30,090 --> 00:17:32,780
that person enter key on your keyboard.

245
00:17:33,060 --> 00:17:39,360
So now as you can see this class is also implementing this unchecked change the listener interface that

246
00:17:39,360 --> 00:17:43,270
is related to this radio group and now the errors are gone.

247
00:17:43,270 --> 00:17:49,170
And we don't have any error here but here as you can see now we have an error as you can see here.

248
00:17:49,170 --> 00:17:53,860
So in order to actually make this error it is gone.

249
00:17:53,980 --> 00:17:58,640
We need to actually implement some effects that are inside of these interfaces.

250
00:17:58,650 --> 00:17:59,130
OK.

251
00:17:59,340 --> 00:18:04,300
So we have some arm effects and we need to actually implement those methods in our main activity class.

252
00:18:04,410 --> 00:18:10,650
So as you can see here there is also is our relationship between main activity class and this and these

253
00:18:10,650 --> 00:18:14,400
two interfaces unclick the center and on to change the center.

254
00:18:14,550 --> 00:18:21,450
So just click on this error here as you can see and then press on our Alt Enter key on your keyboard

255
00:18:22,020 --> 00:18:26,450
and here as you can see it we can actually select this implement if it's here.

256
00:18:26,670 --> 00:18:28,550
And then you can actually click on OK.

257
00:18:28,650 --> 00:18:29,280
OK.

258
00:18:29,520 --> 00:18:35,380
So this is one way to actually implement those required methods or there is another way here.

259
00:18:35,430 --> 00:18:37,770
And inside this main activity class.

260
00:18:37,830 --> 00:18:40,680
So after the end in calibrates of this uncreate method.

261
00:18:40,890 --> 00:18:48,500
And inside these main activity class right click here and then click on generate and then actually can

262
00:18:48,570 --> 00:18:50,210
implement methods.

263
00:18:50,700 --> 00:18:56,390
And as you can see here these are the methods that we need to implement in our main activity class.

264
00:18:56,580 --> 00:18:58,750
And then click on OK here.

265
00:18:59,190 --> 00:19:06,720
So now as you can see the I.D. automatically generated these methods for us unchecked change and unclick

266
00:19:06,720 --> 00:19:07,440
method.

267
00:19:07,770 --> 00:19:09,360
So hopefully that makes sense.

268
00:19:09,360 --> 00:19:16,290
So now in our unclear method as you can see here we have an unclear effect and inside Ismar inside this

269
00:19:16,290 --> 00:19:21,570
method I want to actually paste in some lines of code here and then I'm going to explain to you what's

270
00:19:21,570 --> 00:19:23,130
going on here.

271
00:19:23,160 --> 00:19:28,100
So as you can see here these are the lines of code that I actually pasted here.

272
00:19:28,100 --> 00:19:31,470
Inside these are inside this method.

273
00:19:31,500 --> 00:19:34,140
So first of all I created a switch statement.

274
00:19:34,220 --> 00:19:36,030
OK so each v.

275
00:19:36,030 --> 00:19:41,740
So as you can see here we have this V that is actually of type view we get it.

276
00:19:41,790 --> 00:19:48,170
So let's actually change this name to view and let's actually let's also change this name to view.

277
00:19:48,510 --> 00:19:49,330
As you can see here.

278
00:19:49,400 --> 00:19:52,170
So each view that get ID.

279
00:19:52,170 --> 00:19:57,190
So if you want to actually switch between the IDs of our user interface components.

280
00:19:57,300 --> 00:20:03,940
So as you can see here in our uncreate method I made this BTA add a listener to the clicks of the user

281
00:20:04,260 --> 00:20:06,930
and I also made this IMJ animal.

282
00:20:07,040 --> 00:20:08,640
Our listeners to the police of the user.

