Before we jump into how to use ViewModel’s in custom views, let’s take a look at why you would want to do something like this. Let’s consider a screen with a list of views showing a bunch of data and…