And see x files and files no that's checked again.
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
not false and false questionmark true otherwise false.
So here as you can see I am saying that if the value of these false and false variable is actually false
then assign the value true to this.
So check the method.
Otherwise assign the value falls to the Sitrick.
OK so if the value of this are false and false valuable is actually true it's going to actually assign
the value false to this.
So check if.
OK because I am because here I am specifying that if the value of this false and false value above is
false then assigned the value true to this.
So check it and if the value of this false and false variable is not false.
So it is true then assigned a value false to this.
So check my friend.
OK.
So hopefully that makes sense.
And let's actually run our project again and see the results.
So as you can see here again the value of this false and false Suadi about is actually false.
OK.
No.
Let me explain again.
First of all here as you can see we specified that if the value of this false and false variable is
actually true then assign the value true to this.
I said check if it is related to this component to this checkbox.
Otherwise assign the value of false to these are components to this check box here.
OK.
As you can see the value of this tick box is actually false.
OK and if here and here I specified that if the value of this false and false value is actually false
then assign the value true to this or checkbox as you can see the value of the tick box is now true.
OK.
Otherwise assign the value false to this.
So check the method.
Ok so because the value of this false and false where the above is actually false then it is actually
assigning the value of true to this check box here.
So this tick box is actually on.
So hopefully that makes sense.
And let's actually go back and say these are.
Underline may not mean that x.
And then there's actually again dragging and other linearly out horizontal into this linearly outward
circle and then it's actually dragging and other large takes you into this linear lay out a horizontal
and double click on this large text view.
And here just typing in true or true OK.
And then it's actually dragging a checkbox here.
And double click on the checkbox so for the text of this checkbox just type in here yes.
And for the idea of the checkbox to save in here see X true or true.
Yes.
OK.
And let's actually dragon another checkbox into this linearly and horizontal double click on this checkbox
for the text for the text.
Just type in no.
And for the ID just type in here see X X true or true no.
OK so the ID of this checkbox is z x.
True or true yes.
And the idea of this trick works is C H x true or true no.
And let's actually click on this linearly out and then check this center underline horizontal checkbox.
OK.
Now let's actually go back inside this main activity that double file here and then let's actually scroll
to the top of the screen and here let's actually create a comment OK.
True or true.
And this actually creates a checkbox object C H x true or true.
Yes.
And then let's actually put in an assignment operator here checkbox.
Find view by ID or thought Id dot dot see X true.
All true yes.
OK.
Again let's actually create another checkbox see X true true no.
And then let's put in an assignment operator here and then there's actually a cast this object to a
checkbox object find you by ID are that Id dot C edge X true all true no.
And then let's actually scroll down the screen here and here let's actually create a comment true or
true.
And here let's actually create a boolean variable boolean and the name of Aradia is true or true.
Assignment operator and here I want to actually assign a boolean expression to a variable.
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
actually show the OR operator by using these two symbols.
So in order to actually create this symbol you just need to hold the shift key and then present back
for a slash key on your keyboard.
OK.
In order to create these symbols you need to actually hold the shift key and then press on the back
for the slash key on your keyboard.
OK.
So true.
All true.
OK.
So here let's actually create an if statement.
If the value of this are true or true valuable is actually true.
If the value of this true or true valuable is true then execute this line of code here is x true or
true.
Yes.
That said check checked true ok otherwise else if not true or true.
And this means if the value of this.
True or true valuable is false.
Ok then execute this line of code here.
Inside of these of these curly braces OK.
True or true.
No that said check it.
True.
OK.
So hopefully that makes sense.
First of all we actually created a boolean variable and we gave a name to this boolean value.
As you can see the name of this variable is true or true.
And we assigned this expression to our variable our true or true.
And the result of this expression is going to be assigned to this valuable if the value of this true
or true variable is true.
OK.
Then it's going I should execute this line of code here see X true or true yes that's a check through
and otherwise else.
If the value of these are true or true value is actually Phonse then it's going to try to execute this
line of code here.
OK.
So let's actually run our project and see what happens.
OK.
As you can see now the value of this are true or true variable is actually true of this tick box is
actually on as you can see.
At first we specified that if the value of this true or true variable is true then it's going I should
say cute this line of code here.
OK.
See as true or true yes.
So this component is related to this object.
That said check it to suit the value of this check box is actually true.
So this actually our comment out this if else statement here because I want to show you another way
of actually writing these statements see it as true or true.
Yes.
That said checked and then is actually putting up at around bracket's.
So true or true here I am actually referring to the name of this variable.
True or true questionmark true.
If the value of this truly truly valuable is actually true then assign the value true to this said Chicot
method.
Otherwise false.
And if the value of this true or true value bet is actually false then assign the value false to this
value.
OK.
And this actually creates another line of code C.H. X true or true.
No that said check it.
And let's actually put in a pair of round brackets here.
True or true no true or true questionmark true otherwise false.
Ok so if the value of this.
So here I need to put in an exclamation mark here.
So true or true if the value of this true or true value is actually false questionmark true which a
otherwise false.
And here I am saying that if the value of these are true or true value is actually false then assign
the value true to this asset checked my faith that is related to this see is x true or true no object.
Otherwise assigned the value false to the check box OK.
If the value of this true or true value above is actually true assign the value funds to this checkbox.
So hopefully that makes sense.
And let's actually run our project again in order to see the results.