1
00:00:00,210 --> 00:00:08,510
And see x files and files no that's checked again.

2
00:00:08,520 --> 00:00:13,510
I need to put in a pair of hands like it's here again I need to put in a pair of round brackets here

3
00:00:14,040 --> 00:00:23,480
not false and false questionmark true otherwise false.

4
00:00:23,730 --> 00:00:30,750
So here as you can see I am saying that if the value of these false and false variable is actually false

5
00:00:31,080 --> 00:00:33,260
then assign the value true to this.

6
00:00:33,290 --> 00:00:34,560
So check the method.

7
00:00:34,900 --> 00:00:38,020
Otherwise assign the value falls to the Sitrick.

8
00:00:38,060 --> 00:00:44,580
OK so if the value of this are false and false valuable is actually true it's going to actually assign

9
00:00:44,580 --> 00:00:46,220
the value false to this.

10
00:00:46,220 --> 00:00:46,950
So check if.

11
00:00:46,970 --> 00:00:53,430
OK because I am because here I am specifying that if the value of this false and false value above is

12
00:00:53,460 --> 00:00:56,680
false then assigned the value true to this.

13
00:00:56,690 --> 00:01:03,510
So check it and if the value of this false and false variable is not false.

14
00:01:03,600 --> 00:01:06,510
So it is true then assigned a value false to this.

15
00:01:06,530 --> 00:01:07,720
So check my friend.

16
00:01:08,100 --> 00:01:08,730
OK.

17
00:01:08,880 --> 00:01:10,450
So hopefully that makes sense.

18
00:01:10,590 --> 00:01:14,600
And let's actually run our project again and see the results.

19
00:01:14,610 --> 00:01:21,030
So as you can see here again the value of this false and false Suadi about is actually false.

20
00:01:21,050 --> 00:01:21,390
OK.

21
00:01:21,420 --> 00:01:21,810
No.

22
00:01:21,840 --> 00:01:23,270
Let me explain again.

23
00:01:23,280 --> 00:01:29,220
First of all here as you can see we specified that if the value of this false and false variable is

24
00:01:29,220 --> 00:01:32,970
actually true then assign the value true to this.

25
00:01:32,970 --> 00:01:37,550
I said check if it is related to this component to this checkbox.

26
00:01:37,650 --> 00:01:42,970
Otherwise assign the value of false to these are components to this check box here.

27
00:01:43,050 --> 00:01:43,530
OK.

28
00:01:43,650 --> 00:01:47,040
As you can see the value of this tick box is actually false.

29
00:01:47,100 --> 00:01:55,080
OK and if here and here I specified that if the value of this false and false value is actually false

30
00:01:55,470 --> 00:02:02,130
then assign the value true to this or checkbox as you can see the value of the tick box is now true.

31
00:02:02,360 --> 00:02:02,670
OK.

32
00:02:02,680 --> 00:02:05,630
Otherwise assign the value false to this.

33
00:02:05,640 --> 00:02:06,970
So check the method.

34
00:02:07,390 --> 00:02:13,620
Ok so because the value of this false and false where the above is actually false then it is actually

35
00:02:13,620 --> 00:02:16,210
assigning the value of true to this check box here.

36
00:02:16,230 --> 00:02:18,210
So this tick box is actually on.

37
00:02:18,210 --> 00:02:20,020
So hopefully that makes sense.

38
00:02:20,400 --> 00:02:23,010
And let's actually go back and say these are.

39
00:02:23,070 --> 00:02:24,930
Underline may not mean that x.

40
00:02:25,230 --> 00:02:31,870
And then there's actually again dragging and other linearly out horizontal into this linearly outward

41
00:02:31,930 --> 00:02:39,060
circle and then it's actually dragging and other large takes you into this linear lay out a horizontal

42
00:02:39,150 --> 00:02:41,540
and double click on this large text view.

43
00:02:41,940 --> 00:02:48,830
And here just typing in true or true OK.

44
00:02:49,190 --> 00:02:52,230
And then it's actually dragging a checkbox here.

45
00:02:52,340 --> 00:02:59,110
And double click on the checkbox so for the text of this checkbox just type in here yes.

46
00:02:59,270 --> 00:03:05,530
And for the idea of the checkbox to save in here see X true or true.

47
00:03:05,960 --> 00:03:07,110
Yes.

48
00:03:08,030 --> 00:03:08,930
OK.

49
00:03:09,440 --> 00:03:16,250
And let's actually dragon another checkbox into this linearly and horizontal double click on this checkbox

50
00:03:16,550 --> 00:03:18,150
for the text for the text.

51
00:03:18,170 --> 00:03:19,350
Just type in no.

52
00:03:19,640 --> 00:03:27,460
And for the ID just type in here see X X true or true no.

53
00:03:28,100 --> 00:03:32,050
OK so the ID of this checkbox is z x.

54
00:03:32,060 --> 00:03:33,670
True or true yes.

55
00:03:33,800 --> 00:03:39,100
And the idea of this trick works is C H x true or true no.

56
00:03:39,170 --> 00:03:45,490
And let's actually click on this linearly out and then check this center underline horizontal checkbox.

57
00:03:45,590 --> 00:03:46,170
OK.

58
00:03:46,220 --> 00:03:53,150
Now let's actually go back inside this main activity that double file here and then let's actually scroll

59
00:03:53,150 --> 00:03:58,590
to the top of the screen and here let's actually create a comment OK.

60
00:03:58,640 --> 00:04:01,500
True or true.

61
00:04:01,760 --> 00:04:09,400
And this actually creates a checkbox object C H x true or true.

62
00:04:09,890 --> 00:04:10,630
Yes.

63
00:04:10,880 --> 00:04:15,920
And then let's actually put in an assignment operator here checkbox.

64
00:04:16,730 --> 00:04:24,580
Find view by ID or thought Id dot dot see X true.

65
00:04:25,060 --> 00:04:28,180
All true yes.

66
00:04:28,910 --> 00:04:29,750
OK.

67
00:04:30,200 --> 00:04:39,310
Again let's actually create another checkbox see X true true no.

68
00:04:40,000 --> 00:04:45,910
And then let's put in an assignment operator here and then there's actually a cast this object to a

69
00:04:45,910 --> 00:04:56,450
checkbox object find you by ID are that Id dot C edge X true all true no.

70
00:04:56,530 --> 00:05:03,550
And then let's actually scroll down the screen here and here let's actually create a comment true or

71
00:05:04,450 --> 00:05:05,500
true.

72
00:05:06,160 --> 00:05:15,070
And here let's actually create a boolean variable boolean and the name of Aradia is true or true.

73
00:05:15,430 --> 00:05:21,840
Assignment operator and here I want to actually assign a boolean expression to a variable.

74
00:05:21,850 --> 00:05:29,400
So let's actually put in a pair of brackets here so I can just type in true or as you can see of we

75
00:05:29,410 --> 00:05:33,660
actually show the OR operator by using these two symbols.

76
00:05:33,670 --> 00:05:40,740
So in order to actually create this symbol you just need to hold the shift key and then present back

77
00:05:40,740 --> 00:05:42,340
for a slash key on your keyboard.

78
00:05:42,340 --> 00:05:43,030
OK.

79
00:05:43,360 --> 00:05:49,630
In order to create these symbols you need to actually hold the shift key and then press on the back

80
00:05:49,620 --> 00:05:51,770
for the slash key on your keyboard.

81
00:05:51,900 --> 00:05:52,450
OK.

82
00:05:52,570 --> 00:05:53,260
So true.

83
00:05:53,300 --> 00:05:55,900
All true.

84
00:05:56,450 --> 00:05:57,040
OK.

85
00:05:58,300 --> 00:06:01,480
So here let's actually create an if statement.

86
00:06:01,690 --> 00:06:07,340
If the value of this are true or true valuable is actually true.

87
00:06:07,450 --> 00:06:15,150
If the value of this true or true valuable is true then execute this line of code here is x true or

88
00:06:15,320 --> 00:06:15,960
true.

89
00:06:16,150 --> 00:06:16,730
Yes.

90
00:06:16,810 --> 00:06:28,410
That said check checked true ok otherwise else if not true or true.

91
00:06:28,850 --> 00:06:31,860
And this means if the value of this.

92
00:06:31,870 --> 00:06:34,820
True or true valuable is false.

93
00:06:35,100 --> 00:06:37,580
Ok then execute this line of code here.

94
00:06:37,580 --> 00:06:42,110
Inside of these of these curly braces OK.

95
00:06:42,170 --> 00:06:42,860
True or true.

96
00:06:42,860 --> 00:06:45,050
No that said check it.

97
00:06:45,140 --> 00:06:45,820
True.

98
00:06:48,040 --> 00:06:48,700
OK.

99
00:06:48,780 --> 00:06:50,650
So hopefully that makes sense.

100
00:06:50,670 --> 00:06:56,520
First of all we actually created a boolean variable and we gave a name to this boolean value.

101
00:06:56,580 --> 00:06:59,750
As you can see the name of this variable is true or true.

102
00:07:00,240 --> 00:07:04,790
And we assigned this expression to our variable our true or true.

103
00:07:05,100 --> 00:07:10,590
And the result of this expression is going to be assigned to this valuable if the value of this true

104
00:07:10,650 --> 00:07:12,770
or true variable is true.

105
00:07:13,110 --> 00:07:13,600
OK.

106
00:07:13,740 --> 00:07:19,590
Then it's going I should execute this line of code here see X true or true yes that's a check through

107
00:07:20,300 --> 00:07:21,720
and otherwise else.

108
00:07:21,780 --> 00:07:28,530
If the value of these are true or true value is actually Phonse then it's going to try to execute this

109
00:07:28,530 --> 00:07:29,480
line of code here.

110
00:07:29,610 --> 00:07:30,270
OK.

111
00:07:30,600 --> 00:07:33,770
So let's actually run our project and see what happens.

112
00:07:33,810 --> 00:07:34,350
OK.

113
00:07:34,500 --> 00:07:40,850
As you can see now the value of this are true or true variable is actually true of this tick box is

114
00:07:40,860 --> 00:07:42,730
actually on as you can see.

115
00:07:42,730 --> 00:07:47,880
At first we specified that if the value of this true or true variable is true then it's going I should

116
00:07:47,960 --> 00:07:49,640
say cute this line of code here.

117
00:07:49,820 --> 00:07:50,310
OK.

118
00:07:50,460 --> 00:07:52,370
See as true or true yes.

119
00:07:52,380 --> 00:07:55,390
So this component is related to this object.

120
00:07:55,560 --> 00:07:59,610
That said check it to suit the value of this check box is actually true.

121
00:07:59,760 --> 00:08:05,760
So this actually our comment out this if else statement here because I want to show you another way

122
00:08:06,510 --> 00:08:14,090
of actually writing these statements see it as true or true.

123
00:08:14,310 --> 00:08:15,100
Yes.

124
00:08:15,190 --> 00:08:19,180
That said checked and then is actually putting up at around bracket's.

125
00:08:19,200 --> 00:08:25,350
So true or true here I am actually referring to the name of this variable.

126
00:08:25,380 --> 00:08:28,220
True or true questionmark true.

127
00:08:28,560 --> 00:08:34,890
If the value of this truly truly valuable is actually true then assign the value true to this said Chicot

128
00:08:34,890 --> 00:08:35,320
method.

129
00:08:35,350 --> 00:08:36,730
Otherwise false.

130
00:08:36,750 --> 00:08:43,290
And if the value of this true or true value bet is actually false then assign the value false to this

131
00:08:43,290 --> 00:08:43,770
value.

132
00:08:43,810 --> 00:08:44,300
OK.

133
00:08:44,550 --> 00:08:50,210
And this actually creates another line of code C.H. X true or true.

134
00:08:50,460 --> 00:08:53,720
No that said check it.

135
00:08:54,270 --> 00:08:57,210
And let's actually put in a pair of round brackets here.

136
00:08:58,510 --> 00:09:10,100
True or true no true or true questionmark true otherwise false.

137
00:09:10,960 --> 00:09:12,830
Ok so if the value of this.

138
00:09:12,880 --> 00:09:15,760
So here I need to put in an exclamation mark here.

139
00:09:15,910 --> 00:09:23,800
So true or true if the value of this true or true value is actually false questionmark true which a

140
00:09:23,890 --> 00:09:25,580
otherwise false.

141
00:09:25,720 --> 00:09:33,010
And here I am saying that if the value of these are true or true value is actually false then assign

142
00:09:33,010 --> 00:09:40,240
the value true to this asset checked my faith that is related to this see is x true or true no object.

143
00:09:40,340 --> 00:09:43,730
Otherwise assigned the value false to the check box OK.

144
00:09:43,750 --> 00:09:50,980
If the value of this true or true value above is actually true assign the value funds to this checkbox.

145
00:09:51,250 --> 00:09:52,940
So hopefully that makes sense.

146
00:09:53,050 --> 00:09:57,050
And let's actually run our project again in order to see the results.

