I have a horizontal recycler view, shown on a card within a vertical scroll view.
I require the width of the recycler view and have tried using the following code: