And now let's actually call this the animal power that it takes.
And as you can see we have an immense power array here as you can see here.
So we can actually call that Arey here.
So first of all I need to refer to the name of this old RTX the animal power value plus and man's power
sup position OK.
Th the animal speed that said text all the animal spit value plus animal and animals of speech.
As you can see here we have this area here which is of type int..
As you can see and Suppe position.
So now let's actually run our project again and see what happens.
So as you can see here now our application is actually running on this emulator.
And now we can see these values here.
OK name of the animal bear animal power 200 animal speed 50.
So as you can see here we actually created these arrows and you actually assigned these values to the
right respectively.
OK.
So hopefully that makes sense.
For example Bear power is 200 and the speed is 50.
OK.
And you can actually see the other animals here.
OK.
So hopefully that makes sense.
And let's actually do something.
And when the user clicks on one of these items inside of these customized to this view.
OK.
So here as you can see let's actually go back and say this customer dispute that justified and inside
of these kids view method here I can actually call.
As you can see here you have this view here.
OK.
Now I can actually call this view that sets unclick listener.
OK.
Now we want to create an anonymous class.
OK.
New on click listener.
So just select this method here and then press enter key here.
OK.
So as you can see here this block of code here.
OK.
Is going to actually create an anonymous OK in her class.
OK.
So we can't see that class.
OK.
This is actually anonymous and that class is going to actually implement the uncle listener interface.
OK.
So because that class implements this interface.
OK.
We need to that class needs to actually implement this method too.
So that's why you can see this a block of code as it is right here.
OK.
That's why we need to implement this method here.
So inside of this uncle method I can put in my own implementations here.
So inside of the Smurfette I'm going actually pasting a line of code and then I'm going to explain to
you what's going on here.
So as you can see here I created a toast object I referred to the name of this post-collapse that make
text.
And here I actually specify it as an argument to the context.
OK so I declared this context as you can see here in a class context and here as you can see inside
of our uncle Mefford we can see this context.
OK.
And here for the second argument we need to specify the text that that we want to show to the user and
for the first argument we need to actually specify the duration of the text that we want to show to
the user.
And then we need to call the Schuurman effect on the Smurfette in order to actually show this takes
to the user OK.
So let's actually do it on our project again and see what happens.
So as you can see our application is running on this emulator.
So if we actually click on one of these items let's see what happens.
So he says name of the animal birth name of the animal chow.
OK.
And here as you can see I am getting the value of this to the animal name.
OK.
So I can't just click on this name of the animal horse.
OK.
I can put in other ideas here so I could just put in.
Awesome.
Two double quotes here.
Back for Slash and.
OK.
So I didn't actually concatenate these two values together and here I could just put up last operator
here.
I could just refer to the name of this T-Rex the animal power that get text.
And then again I could actually put an A-plus operator to double quotes by full slash in New newline
character plus operator.
The animal speed dot I get text as you can see here.
Now let's actually do an art project again and see what happens.
So as you can see our application is running on this emulator.
So if I click on this item here as you can see it says name of the animal bird.
And as you can see we can see power and speed.
So here I could just change this lens on the lens short to land on the line line.
Let's run our project again.
So here as you can see again our application is running.
And if you actually click on this first item here it says name of the animal bear animal power 200 animal
speed 50.
So here name of the animal that animal power 50 animal speed 60.
So for example Tiger animal named Tiger power 220 and speed 100 lion.
And you can see these values here.
So hopefully that makes sense.
And let's actually go back and say this customized Arliss is through the audio file here.
And I think that's enough for this application.
And you can actually create your own customized list view and bind that list view of this list view
here.
So thank you very much for watching.
And if you have any questions please post the discussion in the course and then I'll do my best to answer
all of your questions.
And thank you very much for watching and I'll see you in the next year.
Tauriel.