Running ./gradlew lint reports me an error which is confusing:
39: Must be one of: RecyclerView.HORIZONTAL, RecyclerView.VERTICAL
In the source code:
38 LinearLayoutManager linearLayoutManager = new LinearLayoutManager(rootView.getContext());
39 linearLayoutManager.setOrientation(LinearLayoutManager.VERTICAL);
40 recyclerView.setLayoutManager(linearLayoutManager);
41 recyclerView.setAdapter(recyclerAdapter);
Is there any reason I should change 39th line to
linearLayoutManager.setOrientation(RecyclerView.VERTICAL);