I\'m trying to fill some data into a RecyclerView with GridLayoutManager:
RecyclerView
GridLayoutManager
GridLayoutManager layoutManager = new GridLayoutManager(t
The answer by Mohammad is true but you do not need to create a new class. you can simply override isLayoutRTL method.
GridLayoutManager lm = new GridLayoutManager(this, 2) { @Override protected boolean isLayoutRTL() { return true; } };