I have an RecyclerView.Adapter and I don't want to copy the logic to use the views in a LinearLayout.
So I want to know if something of the following two things is possible:
- use the
RecyclerView.Adaptersomehow in aLinearLayout - create a
LayoutManagerthat acts like aLinearLayoutwould do (I think this should be possible, it sounds like a good use case for that)
Is that somehow possible?
Why?
- display the adapter in a scrollable list (in a RecyclerView with the corresponding LayoutManager)
- display the adapter as part of list => here I need an "expanded" list which shows all items at once...
0 comments:
Post a Comment