1
00:00:00,470 --> 00:00:06,370
And here in line 26 are you referring to the name of these topics these fourth named object as you can

2
00:00:06,370 --> 00:00:10,700
see takes you dot set text my sport.

3
00:00:10,750 --> 00:00:11,800
Good sport.

4
00:00:12,000 --> 00:00:16,110
So here we are actually getting the value of the sport's name.

5
00:00:16,260 --> 00:00:22,270
And here we are actually assigning value to these geeks the sport name here KTXA the sport name that

6
00:00:22,270 --> 00:00:23,270
said text.

7
00:00:23,610 --> 00:00:31,450
And in 9:27 again I actually referred to the name of this object my sport that lets out food.

8
00:00:31,470 --> 00:00:33,660
This course takes this course.

9
00:00:33,660 --> 00:00:34,190
OK.

10
00:00:34,350 --> 00:00:41,470
So here I actually referred to the name of this object and he here I actually called this it lets out

11
00:00:41,470 --> 00:00:41,700
food.

12
00:00:41,700 --> 00:00:44,000
This discourse on this object.

13
00:00:44,070 --> 00:00:49,590
So as you can see here inside these sports class you have this method here and this method actually

14
00:00:49,590 --> 00:00:52,600
accepts an argument of type text view.

15
00:00:52,710 --> 00:00:53,360
OK.

16
00:00:53,580 --> 00:01:00,360
So we actually put this takes you here takes this course here and in line twenty eight.

17
00:01:00,360 --> 00:01:02,640
Again I refer to the name of this object.

18
00:01:02,790 --> 00:01:04,260
The score scores average.

19
00:01:04,380 --> 00:01:04,900
OK.

20
00:01:05,040 --> 00:01:07,120
That said text.

21
00:01:07,140 --> 00:01:15,450
So here I want to assign a value to these MFX text here my sport that gets average value.

22
00:01:15,450 --> 00:01:20,130
So here we are calling this method get average value on this sport here.

23
00:01:20,220 --> 00:01:21,370
My spot object.

24
00:01:21,570 --> 00:01:28,650
So inside this sport class as you can see here in here we have actually our Meffert card get average

25
00:01:28,650 --> 00:01:29,010
value.

26
00:01:29,010 --> 00:01:32,110
And this method actually returns a value of double.

27
00:01:32,160 --> 00:01:32,960
OK.

28
00:01:33,540 --> 00:01:37,220
So here in line actually in line 29.

29
00:01:37,450 --> 00:01:43,490
Again I referred to the name of these RTX the highest score object as you can see here.

30
00:01:43,770 --> 00:01:47,240
And I called this Meffert set text on this object.

31
00:01:47,280 --> 00:01:53,910
And inside the practices of this method I referred to the name of this object my sport dart get the

32
00:01:53,910 --> 00:01:56,330
maximum value plus two double quotes.

33
00:01:56,340 --> 00:02:02,760
So here we are actually converting this value to our string value to a string value so that we can actually

34
00:02:03,810 --> 00:02:05,210
see that value on the screen.

35
00:02:05,280 --> 00:02:05,990
OK.

36
00:02:06,450 --> 00:02:10,680
And here you referred to the name of this TXI the lowest score object.

37
00:02:10,920 --> 00:02:12,970
That said taste my sport.

38
00:02:13,110 --> 00:02:19,340
OK here I am I should add referring to the name of this object my sport darts get the minimum value

39
00:02:19,350 --> 00:02:19,840
OK.

40
00:02:19,950 --> 00:02:25,250
So here I am calling the Smurfette get the minimum value on this object my sport.

41
00:02:25,440 --> 00:02:31,990
And here I am converting this value to a string value by putting this plus operator here to double quotes.

42
00:02:32,280 --> 00:02:36,580
So now let's actually run our project and see what happens.

43
00:02:36,840 --> 00:02:37,350
OK.

44
00:02:37,500 --> 00:02:42,000
As you can see here our application is actually running on this emulator.

45
00:02:42,210 --> 00:02:45,160
And here we can see this sports name is boxing.

46
00:02:45,360 --> 00:02:46,900
And here we can see this course.

47
00:02:46,910 --> 00:02:47,190
OK.

48
00:02:47,190 --> 00:02:50,900
Aflat number zero is actually 87.

49
00:02:51,120 --> 00:02:55,130
And here as you can see with number 12 is for example 57 here.

50
00:02:55,140 --> 00:02:55,730
OK.

51
00:02:56,040 --> 00:02:59,460
And here we can see their scores average this number.

52
00:02:59,460 --> 00:03:05,060
And here we can see the highest score 98 and lowest score 21.

53
00:03:05,190 --> 00:03:06,600
OK.

54
00:03:06,630 --> 00:03:10,400
So I think that's enough for this tutorial.

55
00:03:10,740 --> 00:03:16,650
And if you have any questions please post the discussion in the course and I'll do my best to answer

56
00:03:16,680 --> 00:03:17,960
all of your questions.

57
00:03:18,150 --> 00:03:22,070
And thank you very much for watching and I'll see you in the next tutorial.

