Я пытаюсь сделать сетку-макет с квадратными изображениями. Я думал, что должно быть возможно управлять GridLayoutManager
, манипулируя onMeasure
, чтобы сделать
super.onMeasure(recycler, state, widthSpec, widthSpec);
вместо
super.onMeasure(recycler, state, widthSpec, heightSpec);
но, к сожалению, это не сработало.
Любые идеи?