(红框是主项,蓝框是子项)
我想RecyclerView item(Sub Item)在 a中列出另一个RecyclerView item(Main Item),如图所示。
事实上,这已经实施了。我通过使用SubAdapterin onBindViewHolderof来实现它Main Adapter。
但是,由于是Adapter中的Adapter,所以我觉得比较复杂。我发现ConcatAdapter并尝试使用它。
但是,至少据我所知,RecyclerView Layout使用ConcatAdapter.
有没有办法在two RecyclerView Layouts使用时应用每个ConcatAdapter?

