Moving the adapter into the views