https://stackoverflow.com/a/26575808/12803800

 

Square layout on GridLayoutManager for RecyclerView

I try to make a grid-layout with square images. I thought that it must be possible to manipulate the GridLayoutManager by manipulating onMeasure to do a super.onMeasure(recycler, state, widthSpec,

stackoverflow.com

 

어쩌다 이러고 있는지 모르겠지만

안드로이드 앱을 작성하고있습니다.

뭐가 뭔지 하나도 모르고 

책도 한권없는 상태라 막막해서 주먹구구식으로 이런게 필요하겠지 라면서 

iOS 짜듯이 짜보고 있는데

도저히 RecyclerView의 GridLayoutManager를 넣었을때 정사각형으로 나오질 않아 다 집어 던지고 도망가고 싶어질때쯤

이러한걸 만들어주시는 고마운분을 발견해 이렇게 글을 씁니다.

 

고마워요...

'Android' 카테고리의 다른 글

Installation failed with message Failed to establish session.  (0) 2022.02.11

+ Recent posts