I have a very large app in which I have used RecylclerViews almost everywhere, I know how to implement RecyclerViews and I did not have any problem, ever ! but lately I came across a really bad lag on one of the RVs, (let me assure you my bindview methods are perfectly good, I load all the images in the asynctasks and ... ), and that is on first showing the RV I get an ANR !
after hours of debuging, I found out that each time the dataset changes (notifyDataset()), including the very first time that the RV populates, all of the views are both created and bound (yes like 200 times the onCreateView() is called, which is just the opposite of the RecyclerView's philosophy!) Once all the views are created and bound, the app starts functioning normally, I mean no more onCreateView() and as required onBindView() calling, with no lag whatsoever.
I know it's really hard to find the reason, but I thought maybe there is an obvious setting or ... which causes this or some past experience from SO users may help me.
