onAttachedToWindow
Called when this LayoutManager is both attached to a RecyclerView and that RecyclerView is attached to a window.
If the RecyclerView is re-attached with the same LayoutManager and Adapter, it may not call onLayoutChildren if nothing has changed and a layout was not requested on the RecyclerView while it was detached.
Subclass implementations should always call through to the superclass implementation.
Parameters
view
The RecyclerView this LayoutManager is bound to