getWidth
Returns the width that is currently relevant to the LayoutManager.
This value is usually equal to the laid out width of the RecyclerView but may reflect the current android.view.View.MeasureSpec width if the LayoutManager is using AutoMeasure and the RecyclerView is in the process of measuring. The LayoutManager must always use this method to retrieve the width relevant to it at any given time.
Return
Width in pixels