ExpandableAdapter可分组的 RecyclerView 适配器
ExpandableAdapter,继承自 RecyclerView.Adapter,支持header,child, group, groupchild, footer 分组,并且支持group悬浮效果(Sticky效果)。
运行截图:
示例代码:
1.需要Group悬浮,将RecyclerView包裹在'StickyLayout'里面,并且调用'stickylayout'的init函数传入参数true(true,表示group悬浮,false表示不悬浮)
<com.qbw.recyclerview.expandable.StickyLayout android:id="@+id/stickylayout" android:layout_width="match_parent" android:layout_height="match_parent"> <android.support.v7.widget.RecyclerView android:id="@+id/recyclerview" android:layout_width="match_parent" android:layout_height="match_parent" /> </com.qbw.recyclerview.expandable.StickyLayout>
2.不需要Group悬浮,可直接使用'RecyclerView'
<android.support.v7.widget.RecyclerView android:id="@+id/recyclerview" android:layout_width="match_parent" android:layout_height="match_parent" />
下载:
Gradle:
compile 'com.qbw.recyclerview:expandableadapter:2.4.0'
评论
activemq-store-mongodbactivemq的mongodb适配器
activemq-store-mongodb是一个使用 mongodb 实现的 activemq消息存储。为了在配置文件支持mongodb存储,需要稍微改一下activemq的XSD和servicel
activemq-store-mongodbactivemq的mongodb适配器
0
activemq-store-mongodbactivemq的mongodb适配器
activemq-store-mongodb 是一个使用 mongodb 实现的 activemq
activemq-store-mongodbactivemq的mongodb适配器
0
BeanAdapter基于 List 的适配器
BeanAdapterBeanAdapter是以List<Object>为适配来源的adapter。List<Object>对adapter解决自定义对象的线性填充。demo:
BeanAdapter基于 List 的适配器
0
cylon-intel-iotClyon.js 适配器
CylonIntetloT是一个面向 IntelEdison 和 IntelGalileo 开发板的Clyon.js的适配器,它使用了Intel物联网团队的node模块MRAA作为底层。Cylon.j
cylon-intel-iotClyon.js 适配器
0
cylon-intel-iotClyon.js 适配器
Cylon Intet loT 是一个面向 Intel Edison 和 Intel Galileo
cylon-intel-iotClyon.js 适配器
0