how to store recyclerview data on onSaveInstanceState
问题 I want to save data from the API in the RecyclerView so that when rotating the screen is not reloaded I think I can use onSaveInstanceState but still don't really understand how to use it @Override public void onViewCreated(@NonNull View view, @Nullable Bundle savedInstanceState) { super.onViewCreated(view, savedInstanceState); final RecyclerView rvTVShow = view.findViewById(R.id.rv_shows); rvTVShow.setHasFixedSize(true); rvTVShow.setLayoutManager(new LinearLayoutManager(getActivity()));