RecyclerView only shows items after screen rotation
So basically what I’m trying to do is the following:
I have a menu which is an Activity, there I open a Fragment(Fragment A), there I put a button to open another Fragment(Fragment B) where my RecyclerView is. In this RecyclerView I put items in by clicking on a button, saving those in room and displaying them in the RV, which works perfectly. When I’m finished adding items I go back to the Activity. Then the problem occurs when I’m doing the exact same steps. In Fragment B(where the RV is)...