Welcome back.
If you encounter again array index out of bounds exception for example length ten index ten.
You may solve this problem by copying this and pasting them here so that colors will be repeated.
Or when, uh, you detect the object drawing the box here, draw a rectangle path color list.
You can write this for example I and a modulo ten okay now the app works fine for two batteries.
You see, the white label is um, it is reaching the the, the end of the first part of the array.
So this is good okay.
So if you encounter any problem again go and increase the colors and add more and more colors okay.
So congratulations guys.
This is our lovely application.
We're going to build more and more advanced topics and more advanced application in the next sections.