mvvmcross android中的分段回收视图

mvvmcross android中的分段回收视图,android,xml,xamarin,android-recyclerview,mvvmcross,Android,Xml,Xamarin,Android Recyclerview,Mvvmcross,我正在尝试使一个RecyclerView如下所示 我使用的是mvvmcross,到目前为止我使用的xml是: <MvvmCross.Droid.Support.V7.RecyclerView.MvxRecyclerView android:id="@+id/recyclerView" android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_

我正在尝试使一个RecyclerView如下所示

我使用的是mvvmcross,到目前为止我使用的xml是:

<MvvmCross.Droid.Support.V7.RecyclerView.MvxRecyclerView
    android:id="@+id/recyclerView"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:layout_weight="1"
    fab:MvxBind="ItemsSource EmballageGroups"
    fab:MvxTemplateSelector="Hocras.OnRoute.Droid.TypeTemplateSelector,Hocras.OnRoute.Droid" />


但这是一个没有章节的简单列表。我怎样才能在那里找到分区?(必须按产品类型进行分段)

请查看此处的示例

它使用
MvxExpandableListView

<Mvx.MvxExpandableListView
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    local:MvxItemTemplate="@layout/listitem_kitten"
    local:MvxGroupItemTemplate="@layout/listitem_expandablegroup"
    local:MvxBind="ItemsSource KittenGroups" />

Android ExpandableListView是一种在垂直滚动的两级列表中显示项目的视图。它与ListView的不同之处在于,它允许两个级别(通过触摸可轻松展开和折叠的组)来查看及其各自的子项。 android中的ExpandableListViewAdapter将数据加载到与此视图关联的项目中

以下是此类使用的一些重要方法: 请在下面的链接中查找完整信息


表示您想将每个部分展开,还是想为每个部分显示Hadar。@Chetan首先我需要创建一个部分,然后我想为每个包含项目的部分创建一个标题!你知道可扩展列表视图吗?@Chetan不,我不知道。没有经验的android/xamarin devplease find my answer Expandable ListView是android的核心视图,用于创建带有expand and and collapse listener的部分ListView。我制作的模板选择器可以使用吗?因为我需要每个组不同的项目布局。