Chap 11 breaks Chap 10 optimization

Am I correct that use of the ViewPager in Chapter 11 renders incorrect the Effective RecyclerView Reloading Challenge since multiple crimes could be updated by the pager?

Great training book, BTW!

Yea, that’s right. You will have to remove the optimization when you get to the ViewPager chapter.

I’ve thought about removing the challenge for that reason but people seem to enjoy that challenge so we’ve left it in.

I’ve been putting using Git with the exercises, then making a new branch for each new challenge – that way it’s very easy to go back to the main branch when moving on to the next chapter.

1 Like