I had an app perfectly working with support library version 23.1.1, where a RecyclerView shows a Loading View during data fetch using a LinearLayoutManager and a RecyclerViewerAdapter.
------------------ Chapter One - Everything Works ----------------
Showing Indicator in the middle. The Layout covers the whole view.
Gradle File Shows it is using 23.1.1 version of Support Libraries.
If you look at line 21, I get the height of parent view from Layout Manager and set it to the loading view.
------------------ Chapter Two - Everything goes South ----------------
I updated the Support Library
Nothing shows up
It turned out the parent.getMeasuredHeight() returns 0.
------------------ Chapter Three - Some Hints ----------------
From one of the answer from a StackOverFlow question, I thought WRAP_CONTENT or MATCH PARENT will work instead of parent.getMeasuredHeight(). But, it did not help either.
Result of WRAP_CONTENT