h6ah4i/android-advancedrecyclerview
소개
고급 기능을 제공하는 RecyclerView 확장 라이브러리입니다. (예: Google Inbox와 같은 스와이프, Play Music과 같은 드래그 앤 드롭 정렬)
디자인 및 미디어측정된 스타 증가
- in 24h
- 0
- in 7 days
- -1
- in 15 days
- -5
- in 1 month
- -6
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
README.md
OriginalAdvanced RecyclerView
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/
Download the example app
Demonstration video on YouTube
Target platforms
- API level 14 or later
Latest version
- Version 1.0.0 (December 16, 2018) (RELEASE NOTES)
Recent Breaking Change Info
- v1.0.0:
- Migrated to AndroidX (Use v0.11.0 instead if your project uses support libraries)
BaseWrapperAdapter- Removed some deprecated features
SwipeableItemConstants.REACTION_CAN_SWIPE_BOTHSwipeableItemConstants.REACTION_CAN_NOT_SWIPE_BOTHSwipeableItemConstants.REACTION_CAN_NOT_SWIPE_BOTH_WITH_RUBBER_BAND_EFFECT
- New
DraggableItemState getDragState()method added to theDraggableItemViewHolderinterface - New
SwipeableItemState getSwipeState()method added to theSwipeableItemViewHolderinterface - New
ExpandableItemState getExpandState()method added to theExpandableItemViewHolderinterface
:point_right: Migration guide from v0.11.0 to v1.0.0
Getting started
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.
Examples
Please check the implementation of the simple examples.
Drag & Drop related examples
- Basic
- Minimal
- Draggable grid
- Draggable staggered grid
- Draggable with section
- Drag on Long press
- Uses onCheckCanDrop()
Expandable item related examples
Swipeable related examples
Headers and Footers examples
WrapperAdapter examples
Hybrid examples
Other examples
iOS Mail app like swipe action
License
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.
관련 프로젝트 살펴보기
불러오는 중…