```
ArrayAdapter(Context context, int resource);

```

The second parameter of `ArrayAdapter` is int type but we pass the layout as the second parameter in `ArrayAdapter` and the Layout component is the type of View. 

So how the `ArrayAdapter` change the type View to int ?