brianwernick / recyclerext Goto Github PK
View Code? Open in Web Editor NEWAndroid RecyclerView Extension library
License: Apache License 2.0
Android RecyclerView Extension library
License: Apache License 2.0
Currently event when the user is scrolling very quickly every view needs to be bound (because we don't know the scroll velocity). It would be nice to have a callback informing us when the RecyclerView is being scrolled quickly and exits being scrolled quickly (i.e. after a specified velocity the event is triggered).
This would allow us to not-rebind views when quickly scrolling (allowing for performance optimizations)
Any padding on the FastScroll
is ignored. e.g.
<com.devbrackets.android.recyclerext.widget.FastScroll
android:id="@+id/fastScroll"
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:layout_alignParentEnd="true"
android:layout_alignParentRight="true"
android:paddingBottom="44dp"/>
The FastScroll bubble and handle stop 44dp
before the bottom of the view
The FastScroll bubble and handle appear at the views bottom (not 44dp
above)
First... I love the library! Thanks!
2.0.0
7.0
Huawei
Nexus 6P
setTrackClicksAllowed(true)
The javadoc for setTrackClicksAllowed(boolean allowed)
reads:
Specifies if clicks on the track should scroll to that position.
I expect the handle to jump to that position in the track and set the RecyclerView to that position as well.
The handle doesn't move and the RecyclerView doesn't scroll to that position. Instead, the handle is controlled from wherever the ACTION_DOWN took place.
Right now the RecyclerReorderCursorAdapter only supports the built in ReorderDecoration. It would be nice to support the ItemTouchHelper way of dealing with RecyclerView's items but for this the reorderItems() method should call notifyItemMoved() instead of notifyDataSetChanged().
This change however breaks the ReorderDecoration implementation. A simple overridable method should suffice to let ItemTouchHelper implementation change this behaviour.
2.0.0
6.0
Huawei
Nexus 6P
The adapter should switch item positions smoothly.
The adapter has it's notifyDataSetChanged() method called and the reorder ends abruptly.
JFrog is ending support for JCenter by February 1st, 2022 in 2 parts:
This means that for RecyclerExt to still be available after February 1st 2022 we need to migrate any existing versions to MavenCentral, and any new versions after March 31st 2021 will need to be published directly to MavenCentral.
2.0.0
6.0
Huawei
Nexus 6P
setHideHandleAllowed = true
FastScroll / Handle appears immediately and scrolls the RecyclerView to that position. Handle can be controlled after that.
Nothing. The FastScroll handle is not visible until a scroll has been initiated on the RecyclerView. At that point, the handle can be grabbed and moved.
thx
Currently the header indexes will be re-calculated whenever any change occurs to items (i.e. notify*
called); we need to optimize this to only perform the calculations when necessary
Currently every time the RecyclerView scroll position is changed we request the text for the popup (if enabled). In many applications this will be the same text for large groups of items, it would be nice to have an id associated with each group that then informs us we need to request the text. This should be similar to the HeaderAdapter ids.
The FastScroll widget is always visible even when the list is barely longer than the RecyclerView's size. The quick scroll implemented in the ListView would only show when the total scroll size (height or width) was 4x that of the ListView.
We should follow the same 4x size metric as a default, but also provide a configurable field
thx
Provide a way to show headers with no children.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.