This RecyclerView extension library provides Google's Inbox app like swiping, Play Music app like drag-and-drop sorting and expandable item features. Works on API level 14 or later.
Documentation site: https://advancedrecyclerview.h6ah4i.com/
Recent Breaking Change Info
BaseWrapperAdapter
SwipeableItemConstants.REACTION_CAN_SWIPE_BOTH
SwipeableItemConstants.REACTION_CAN_NOT_SWIPE_BOTH
SwipeableItemConstants.REACTION_CAN_NOT_SWIPE_BOTH_WITH_RUBBER_BAND_EFFECT
DraggableItemState getDragState()
method added to the DraggableItemViewHolder
interfaceSwipeableItemState getSwipeState()
method added to the SwipeableItemViewHolder
interfaceExpandableItemState getExpandState()
method added to the ExpandableItemViewHolder
interface:point_right: Migration guide from v0.11.0 to v1.0.0
This library is published on Maven Central. Just add these lines to build.gradle
.
repositories {
+ mavenCentral()
}
dependencies {
+ implementation 'com.h6ah4i.android.widget.advrecyclerview:advrecyclerview:1.0.0'
}
Please check the Getting Started section on the official documentation site for more details.
Please check the implementation of the simple examples.
This library is licensed under the Apache Software License, Version 2.0.
See LICENSE
for full of the license text.
Copyright (C) 2015 Haruki Hasegawa
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.