MDC-102 code uses "GridLayoutManager.VERTICAL" instead of "RecyclerView.VERTICAL"
acutetech opened this issue · 0 comments
acutetech commented
On the web page, the sample code in ProductGridFragment.java onCreateView() includes this:
recyclerView.setLayoutManager(new GridLayoutManager(getContext(), 2, GridLayoutManager.VERTICAL, false));
But GridLayoutManager.VERTICAL should be RecyclerView.VERTICAL
The finished-codelab code is correct.