1
00:00:00,750 --> 00:00:01,680
OK everyone.

2
00:00:01,710 --> 00:00:05,060
Now we want to actually create some text you objects.

3
00:00:05,100 --> 00:00:05,570
OK.

4
00:00:05,730 --> 00:00:09,780
So I'll just paste in some lines of code here and then I'll explain to you what's going on here.

5
00:00:09,780 --> 00:00:10,530
OK.

6
00:00:11,010 --> 00:00:16,390
So as you can see here these are actually the lines of code that actually are pasted here.

7
00:00:16,470 --> 00:00:21,780
And as you can see here first of all we created a text object OK and that and the name of this text

8
00:00:21,930 --> 00:00:25,230
object is to the original values of arii.

9
00:00:25,350 --> 00:00:27,820
And here we are referring to this ID.

10
00:00:27,930 --> 00:00:30,440
OK ATX the original values of.

11
00:00:30,690 --> 00:00:35,640
Again we created another text view object to the values of modified at a.

12
00:00:35,820 --> 00:00:40,850
And here you are referring to the ID TXI the values of modified at a.

13
00:00:41,220 --> 00:00:48,510
And here again we created another takes object takes the modified element and here he referred to this

14
00:00:48,510 --> 00:00:51,900
to this ID TXI the modified element.

15
00:00:51,900 --> 00:00:52,410
OK.

16
00:00:52,650 --> 00:00:58,650
And again we created another takes you object to the original Irais element.

17
00:00:58,770 --> 00:01:04,130
And here we refer to this dx the origin an added element and again we created.

18
00:01:04,140 --> 00:01:10,090
And that takes object to the array element value after Amadi modification.

19
00:01:10,260 --> 00:01:15,570
And here we referred to this ID takes the element value after the modification.

20
00:01:15,570 --> 00:01:16,130
OK.

21
00:01:16,440 --> 00:01:20,290
Now I even try to recreate an array of string values.

22
00:01:20,300 --> 00:01:23,040
Ok so I'm just pasting this at a here.

23
00:01:23,040 --> 00:01:28,360
So as you can see here first of all I specified the data type of my array and then I specify that I

24
00:01:28,450 --> 00:01:34,920
want to actually creating an array by actually putting these brackets here and then I actually gave

25
00:01:35,010 --> 00:01:37,060
a name to my add a string array.

26
00:01:37,170 --> 00:01:40,670
And as you can see here these are the values of my Aure here.

27
00:01:40,680 --> 00:01:41,180
OK.

28
00:01:41,310 --> 00:01:50,100
A B C D E F G H I J K L M N O P Q R S T U V W X Y Z.

29
00:01:50,220 --> 00:01:51,000
OK.

30
00:01:51,330 --> 00:01:57,840
And then I notice that they actually put in a new line character after each value as you can see instead

31
00:01:57,840 --> 00:02:02,400
of double quotes here so that the user can see the values better.

32
00:02:02,400 --> 00:02:02,870
OK.

33
00:02:03,030 --> 00:02:06,030
So now I want to actually create a string object.

34
00:02:06,030 --> 00:02:06,640
OK.

35
00:02:06,810 --> 00:02:14,280
So here as you can see this is my string object and the data type of My object is of type string as

36
00:02:14,280 --> 00:02:15,130
you can see here.

37
00:02:15,390 --> 00:02:18,790
And the name of my object is total original values.

38
00:02:18,960 --> 00:02:23,520
Ok here I actually assigned an empty value to this object here.

39
00:02:23,530 --> 00:02:25,340
Ok to this variable.

40
00:02:25,500 --> 00:02:31,920
And now I want to actually create an enhanced for loop in order to either get over it.

41
00:02:31,920 --> 00:02:35,230
These are values that are actually inside this string array.

42
00:02:35,250 --> 00:02:36,170
Here as you can see.

43
00:02:36,210 --> 00:02:41,130
So here I just pasting these enhanced for loop here and here first about inside the Prentice's of this

44
00:02:41,220 --> 00:02:42,470
enhanced for loop.

45
00:02:42,660 --> 00:02:46,840
I created a string valuable as you can see the type of my value.

46
00:02:46,850 --> 00:02:50,420
But is strange and the name of my variable is value.

47
00:02:50,430 --> 00:02:51,050
OK.

48
00:02:51,240 --> 00:02:57,300
And here I want to actually iterate over the values that are actually inside of this three and three

49
00:02:57,720 --> 00:02:59,400
here as you can see.

50
00:02:59,700 --> 00:03:03,510
And then and then I want to actually do something with those values.

51
00:03:03,510 --> 00:03:08,820
So as you can see here I am I to either iterating over the values that are actually inside of this string

52
00:03:08,850 --> 00:03:09,380
array.

53
00:03:09,630 --> 00:03:13,740
And then here is going to actually assign every one of each values.

54
00:03:13,740 --> 00:03:19,830
For example does the value that is inside of this index 0 of this agree to this value valuable here

55
00:03:19,830 --> 00:03:21,240
to this object the value.

56
00:03:21,510 --> 00:03:27,180
And then here inside of this full loop here if you want to actually first of all we referred to this

57
00:03:27,180 --> 00:03:28,980
total region values.

58
00:03:28,980 --> 00:03:31,070
Object to this really valuable.

59
00:03:31,190 --> 00:03:31,700
OK.

60
00:03:31,920 --> 00:03:33,010
Plus equal.

61
00:03:33,070 --> 00:03:38,070
This line of code is actually the same as this line of code that I am about to write.

62
00:03:38,070 --> 00:03:38,460
OK.

63
00:03:38,460 --> 00:03:41,550
Total all original values OK.

64
00:03:41,610 --> 00:03:42,820
Assignment operator.

65
00:03:42,890 --> 00:03:46,370
Total original values plus value.

66
00:03:46,410 --> 00:03:47,040
OK.

67
00:03:47,040 --> 00:03:53,070
And here in this way as you can see it's going to actually assign the value as you can see for example

68
00:03:53,070 --> 00:03:58,020
at this value that is actually inside of these double quotes and then assign that value to this total

69
00:03:58,020 --> 00:04:01,930
original values variable here that we actually created in line 29.

70
00:04:02,100 --> 00:04:07,290
So after each execution of this for loop after each execution of this enhanced for loop.

71
00:04:07,410 --> 00:04:07,850
OK.

72
00:04:07,950 --> 00:04:15,000
It's going actually to assign the value that is for this specific index of this Aure to this total original

73
00:04:15,000 --> 00:04:18,710
values object that we actually created in line 29.

74
00:04:18,800 --> 00:04:26,060
OK so now we can actually output the value of this total origin and values to the screen.

75
00:04:26,160 --> 00:04:35,210
So I can't just type in the X the original values of a dot set text total original values.

76
00:04:35,430 --> 00:04:38,490
So now let's actually run our project and see what happens.

77
00:04:38,520 --> 00:04:43,160
So as you can see here now we can see these values on this screen here.

78
00:04:43,170 --> 00:04:44,030
OK.

79
00:04:44,040 --> 00:04:46,550
A B C D through that.

80
00:04:46,620 --> 00:04:47,470
OK.

81
00:04:47,880 --> 00:04:51,500
And as you can see here these are the original values of the array.

82
00:04:51,700 --> 00:04:58,800
OK so now let's actually to go back and say this main activity that a file here and after this line

83
00:04:58,800 --> 00:04:59,760
of code here.

84
00:04:59,780 --> 00:05:02,830
Now let's actually add some more lines of code here.

85
00:05:02,990 --> 00:05:07,760
So here I want to actually modify the break.

86
00:05:07,790 --> 00:05:08,360
OK.

87
00:05:08,360 --> 00:05:12,440
You want to modify the values that are actually inside of this houri.

88
00:05:12,440 --> 00:05:15,010
So first of all this actually create a method.

89
00:05:15,200 --> 00:05:15,890
OK.

90
00:05:16,040 --> 00:05:22,860
So just type in here public as you can see here the access modifier of our method is public.

91
00:05:23,520 --> 00:05:29,090
Voyt And again as you can see the return type of Our method is void.

92
00:05:29,090 --> 00:05:30,990
So this method is going to return nothing.

93
00:05:31,070 --> 00:05:35,580
And the name of our method is let's modify the array.

94
00:05:35,720 --> 00:05:36,290
OK.

95
00:05:36,530 --> 00:05:40,760
So here I want to actually specify that this Meffert is going to accept an argument.

96
00:05:40,960 --> 00:05:44,290
OK this is going to accept an argument of type.

97
00:05:44,280 --> 00:05:45,230
Strange.

98
00:05:45,590 --> 00:05:47,700
Actually it is actually an array.

99
00:05:48,020 --> 00:05:53,100
OK an array of string values and the name of this array is for example arey.

100
00:05:53,290 --> 00:05:53,830
OK.

101
00:05:53,960 --> 00:06:00,190
And then we can actually open and close this fit by using these curly braces and inside of the Smurfette

102
00:06:00,200 --> 00:06:03,410
we can actually put our own implementations.

103
00:06:03,410 --> 00:06:07,880
So as you can see here now inside of this Nefert I want to actually put a for loop.

104
00:06:08,200 --> 00:06:08,700
OK.

105
00:06:08,990 --> 00:06:15,470
So this is my full loop here and here as you can see inside of the practices of this for loop.

106
00:06:15,470 --> 00:06:21,610
First of all I created a variable of type integer and the name of this variable is index.

107
00:06:21,800 --> 00:06:25,510
And then I actually assign the values zero to this value.

108
00:06:25,760 --> 00:06:31,490
And here I actually specify the condition OK which determines how many times this group is going to

109
00:06:31,490 --> 00:06:32,270
be executed.

110
00:06:32,300 --> 00:06:35,800
First of all we referred to the name of this variable index.

111
00:06:35,990 --> 00:06:37,780
OK less than Redland.

112
00:06:37,850 --> 00:06:44,270
So this loop is going to be executed until the value of this index variable is less than the value of

113
00:06:44,270 --> 00:06:46,170
the length of this.

114
00:06:46,270 --> 00:06:46,980
OK.

115
00:06:47,240 --> 00:06:54,350
And here as you can see we specified that after each execution of this for a loop the value of this

116
00:06:54,410 --> 00:06:57,490
index variable is going to be incremented by 1.

117
00:06:57,590 --> 00:06:58,240
OK.

118
00:06:58,520 --> 00:07:02,330
So here as you can see inside of these for loop in line 53.

119
00:07:02,330 --> 00:07:05,360
So first of all I referred to the name of this argument array.

120
00:07:05,480 --> 00:07:05,930
OK.

121
00:07:06,070 --> 00:07:07,200
Sup index.

122
00:07:07,400 --> 00:07:10,910
So inside the brackets I referred to the name of this index.

123
00:07:10,910 --> 00:07:11,530
Sorry about that.

124
00:07:11,540 --> 00:07:13,070
As you can see here.

125
00:07:13,070 --> 00:07:16,200
Assignment operator and inside it up quotes.

126
00:07:16,230 --> 00:07:18,660
I just putting a dollar sign.

127
00:07:18,710 --> 00:07:19,010
OK.

128
00:07:19,010 --> 00:07:25,740
Plus So here I want to concatenate disvalue this string value up with another value OK.

129
00:07:25,760 --> 00:07:28,440
Plus Arey sub index.

130
00:07:28,460 --> 00:07:29,080
OK.

131
00:07:29,390 --> 00:07:35,660
So it's going to concatenate this value that is inside of this double quotes with another value that

132
00:07:35,660 --> 00:07:39,080
would be in sight of the specific index of this Aure.

133
00:07:39,230 --> 00:07:44,470
OK so now here let's actually refer to the name of this method here.

134
00:07:44,540 --> 00:07:52,460
Let's modify the Arey So as you know this method is going to actually accept one argument of type String

135
00:07:52,560 --> 00:07:53,180
Theory.

136
00:07:53,210 --> 00:07:58,410
So when you actually give an array of type string to this method.

137
00:07:58,430 --> 00:07:58,890
OK.

138
00:07:59,060 --> 00:08:02,890
So here we have an array of type string called string theory.

139
00:08:02,990 --> 00:08:06,250
So if you can just put it here Strange R.A..

140
00:08:06,980 --> 00:08:11,160
And now let's actually create a string variable.

141
00:08:11,180 --> 00:08:12,710
Ok a string object.

142
00:08:12,740 --> 00:08:14,700
So I just need to put it here.

143
00:08:14,900 --> 00:08:21,890
So as you can see here the Data Type of my variable is strange the name of my variable is total modified

144
00:08:21,890 --> 00:08:23,100
values.

145
00:08:23,110 --> 00:08:28,310
Assignment operator and then I assigned an empty value to this variable OK.

146
00:08:28,490 --> 00:08:30,750
In order to just instantiate this object.

147
00:08:30,770 --> 00:08:31,340
OK.

148
00:08:31,490 --> 00:08:35,810
So now let's actually create an enhanced for loop here.

149
00:08:36,220 --> 00:08:36,810
OK.

150
00:08:37,010 --> 00:08:42,380
And again I can just create a string variable and the name of this value it is value.

151
00:08:42,550 --> 00:08:43,300
OK.

152
00:08:43,920 --> 00:08:44,880
Colon.

153
00:08:45,290 --> 00:08:50,680
And here I can actually iterate over the values that are that are actually inside of these three Aure

154
00:08:51,080 --> 00:08:51,510
here.

155
00:08:51,530 --> 00:08:52,120
OK.

156
00:08:52,580 --> 00:08:57,270
And then I can actually open and close this for a loop by using these curly braces.

157
00:08:57,290 --> 00:09:04,600
So inside of this for loop I can just refer to the name of this valuable total modified values.

158
00:09:04,690 --> 00:09:05,410
OK.

159
00:09:05,870 --> 00:09:10,440
Plus equal value.

160
00:09:11,070 --> 00:09:11,710
OK.

161
00:09:12,730 --> 00:09:18,570
So this line of quote is the same as this line of code that I had to actually write here.

162
00:09:18,790 --> 00:09:25,810
Total multifaith values assignment operator total modified values plus value.

163
00:09:26,190 --> 00:09:26,650
OK.

164
00:09:26,740 --> 00:09:29,430
And then I need to put in a semicolon at the end of my statement.

165
00:09:29,530 --> 00:09:35,580
And now I want to output the value that is inside of this total my default values to the screen.

166
00:09:35,580 --> 00:09:43,720
OK so I can't just take 20 x the values of modified Aure that set text and then I need to refer to the

167
00:09:43,720 --> 00:09:47,060
name of this object total modified values.

168
00:09:47,080 --> 00:09:50,710
And now let's actually run our project and see what happens.

169
00:09:50,710 --> 00:09:57,130
So as you can see here now our application is actually running on this emulator and these are the original

170
00:09:57,130 --> 00:09:58,380
values of the array.

171
00:09:58,440 --> 00:09:58,650
OK.

172
00:09:58,660 --> 00:09:59,410
As you can see here.

173
00:09:59,410 --> 00:10:06,430
So now I can actually scroll down here and here we can see the values of the array after modification.

174
00:10:06,430 --> 00:10:10,060
So here we can see the dollar sign before the values here.

175
00:10:10,060 --> 00:10:10,660
OK.

176
00:10:10,930 --> 00:10:16,240
So hopefully that makes sense and I think that's enough for this tutorial and we're going to actually

177
00:10:16,240 --> 00:10:19,590
continue building this application in the next tutorial.

178
00:10:19,870 --> 00:10:23,140
Thank you very much for watching and I'll see you in the next tutorial.

