WEBVTT

00:00.120 --> 00:00.960
Welcome back.

00:01.280 --> 00:09.160
If you encounter again array index out of bounds exception for example length ten index ten.

00:09.200 --> 00:18.720
You may solve this problem by copying this and pasting them here so that colors will be repeated.

00:18.920 --> 00:27.440
Or when, uh, you detect the object drawing the box here, draw a rectangle path color list.

00:27.480 --> 00:37.200
You can write this for example I and a modulo ten okay now the app works fine for two batteries.

00:37.200 --> 00:45.240
You see, the white label is um, it is reaching the the, the end of the first part of the array.

00:45.480 --> 00:47.280
So this is good okay.

00:47.320 --> 00:55.240
So if you encounter any problem again go and increase the colors and add more and more colors okay.

00:55.400 --> 00:57.240
So congratulations guys.

00:57.280 --> 00:59.600
This is our lovely application.

00:59.720 --> 01:06.640
We're going to build more and more advanced topics and more advanced application in the next sections.
