Questions tagged [linearlayoutmanager]

A RecyclerView.LayoutManager implementation which provides similar functionality to ListView. It was introduced with the Android L Developer Preview along with RecyclerView, but is also available as part of the Support Library.

LinearLayoutManager is an implementation of RecyclerView.LayoutManager which provides similar functionality to ListView, i.e., it arranges items in a linear arrangement, either horizontal or vertical, much like LinearLayout ViewGroup. It was introduced with the Android L Developer Preview along with RecyclerView, but is also available as part of the Support Library.

Official Documentation

Other RecyclerView.LayoutManager implementations:

170 questions
-1
votes
2 answers

LinearLayoutManager vs GridLayoutManager

I don't have any coding question or something, I had this application that populates (from a webservice) a gridlayoutmanager recyclerview of 2 rows and now the client wants it to be a List. I just want to ask which is better for the performance…
-2
votes
2 answers

Android custom LayoutManager for first element in RecycleView

I would like to implement RecycleView with layout that looks like the left image on this link http://www.corelangs.com/html/tables/img/colspan-rowspan.png I only want first element to have 100% width of the row, other rows should be seperated into…
Ales
  • 527
  • 2
  • 8
  • 24
-3
votes
1 answer

How to custom LinearLayoutManager?

Like this effect (show half of the item) how to achieve it,I try to use custom LinearLayoutManager, but failed because I cannot understand onMeasure method.
-4
votes
1 answer

Recyclerview findLastCompletelyVisibleItemPosition is not correct?

Since I addData, and called the notifyDataSetChanged(), then I use the findLastCompletelyVisibleItemPosition method immediately, the result is not correct.then I use a postDelay, it's result become correct, why can this be? And how can i know…
-7
votes
1 answer

How to make recyclerview height to wrap_content?

How to make the height of recyclerView to wrap_content so that there is no scrollbar shown in it.I want to make it's height to be as long as the content and i don't want the scrollbar in it, but when i try to add the contents to recyclerView it,…
pOoOf
  • 119
  • 8
1 2 3
11
12