Recyclerview not populating with data after orientation change
问题 I have a recyclerview having different layouts for portrait and landscape. When the activity starts, the recyclerview populates with data irrespective of the orientation. But if the orientation is changed then no data is shown. And no data is shown on consequent orientation changes. public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) { Log.d("CCC", "OnCreate View called"); View view = inflater.inflate(R.layout.fragment_coach_list, container, false