1 00:00:04,710 --> 00:00:06,960 in the past programmers have often 2 00:00:06,960 --> 00:00:09,450 wondered which architectural pattern to 3 00:00:09,450 --> 00:00:11,700 use when designing their apps should 4 00:00:11,700 --> 00:00:15,690 they be using NBC MVP MVM or one of the 5 00:00:15,690 --> 00:00:18,660 other patterns available and in the past 6 00:00:18,660 --> 00:00:20,490 Google refused to make any specific 7 00:00:20,490 --> 00:00:22,980 recommendations the android framework 8 00:00:22,980 --> 00:00:25,590 provided tools that could be used with 9 00:00:25,590 --> 00:00:28,289 any architecture with varying degrees of 10 00:00:28,289 --> 00:00:30,270 difficulty and Google left that up to 11 00:00:30,270 --> 00:00:32,520 developers to use the most suitable 12 00:00:32,520 --> 00:00:35,430 architecture for their apps but with the 13 00:00:35,430 --> 00:00:37,230 recent introduction of architecture 14 00:00:37,230 --> 00:00:39,870 components Google are now suggesting in 15 00:00:39,870 --> 00:00:44,040 architecture and that's mvvm now mvvm 16 00:00:44,040 --> 00:00:46,050 stands for model view viewmodel 17 00:00:46,050 --> 00:00:48,390 and the android framework now includes a 18 00:00:48,390 --> 00:00:51,059 view model class that we can use in our 19 00:00:51,059 --> 00:00:53,579 apps there isn't time to discuss the 20 00:00:53,579 --> 00:00:55,320 various architectural patterns in this 21 00:00:55,320 --> 00:00:57,629 course this is a practical programming 22 00:00:57,629 --> 00:00:59,940 course not a theoretical computer 23 00:00:59,940 --> 00:01:01,950 science course now if you do want to 24 00:01:01,950 --> 00:01:03,450 know more about the various patterns 25 00:01:03,450 --> 00:01:05,789 then the Google search engine as always 26 00:01:05,789 --> 00:01:08,369 is your friend I've got a Wikipedia 27 00:01:08,369 --> 00:01:09,450 article which I'm just going to briefly 28 00:01:09,450 --> 00:01:17,850 bring up on the screen this is a good 29 00:01:17,850 --> 00:01:20,790 starting point for mvvm and the actual 30 00:01:20,790 --> 00:01:24,290 article contains the link to MVC and MVP 31 00:01:24,290 --> 00:01:26,640 if you want to learn more about those 32 00:01:26,640 --> 00:01:29,520 patterns as well so in this section of 33 00:01:29,520 --> 00:01:30,990 the course we're going to introduce the 34 00:01:30,990 --> 00:01:34,350 frameworks view model class and see how 35 00:01:34,350 --> 00:01:36,320 it can make our apps more responsive and 36 00:01:36,320 --> 00:01:39,420 easier to maintain and starting up in 37 00:01:39,420 --> 00:01:41,130 the next video we'll have a look at 38 00:01:41,130 --> 00:01:43,560 androids view model class to get a feel 39 00:01:43,560 --> 00:01:45,119 for what it can do for us 40 00:01:45,119 --> 00:01:46,979 will then convert a couple of our apps 41 00:01:46,979 --> 00:01:49,829 to use a view model we'll start with the 42 00:01:49,829 --> 00:01:51,780 calculator app from a few sections ago 43 00:01:51,780 --> 00:01:54,780 that's a really simple example and makes 44 00:01:54,780 --> 00:01:57,000 it really easy to see where the view 45 00:01:57,000 --> 00:01:58,740 model fits into the overall design 46 00:01:58,740 --> 00:02:00,780 after that we'll then convert the top 47 00:02:00,780 --> 00:02:03,240 ten downloader app to use a view model 48 00:02:03,240 --> 00:02:05,640 to see a more real-world use of view 49 00:02:05,640 --> 00:02:08,729 model in an app and our data base app in 50 00:02:08,729 --> 00:02:11,189 the later section still we'll be using a 51 00:02:11,189 --> 00:02:13,620 view model as well so let's get started 52 00:02:13,620 --> 00:02:15,269 and see what these view models are all 53 00:02:15,269 --> 00:02:19,249 about see you in the next video