SwipeableRV is a library that provides a fast and convenient way to implement the 'swipe to dismiss' feature in Recycler View, as seen in apps such as Messenger.
SwipeableRV wraps around
ItemTouchHelper from the Android Support Library. Therefore, developers do not need to do any extra work on
ItemTouchHelper.Callback themselves. Instead they can just focus on creating a recycler view, adapter, and view holder as normal, plus some minimal work on specifying some details such as supported swipe directions, deletion message or icon.
Helper library for recyclerviews to create composable view holders without boilerplate code.
We often use the
RecyclerView and the RecyclerView.Adapter for our material design apps. Going from the ListView to RecyclerView, I really missed the
So, I extended the original RecyclerView Adapter to help manage different states in the application. The Adapter, apart from the standard list, supports three different views:
RxDiffUtil is an Rx wrapper of the Android
DiffUtil library to calculate and apply a
Concurrency and threading are handled within the Rx chain directly by subscribing to the resulting
obs.onBackpressureLatest() .to(RxDiffUtil.with(adapter)) .calculateDiff(callbackFactory())) .applyDiff(AdapterImpl::setUnsafe) .subscribe();
A single adapter for the whole project.
A flexible view for providing a limited rect window into a large data set, just like a two-dimensional RecyclerView. It different from
RecyclerView is that it's two-dimensional (just like a
Panel) and it pin the itemView of first row and first column in their original location.
A RecyclerView Adapter which allows you to have an Infinite scrolling list in your apps. This library offers you a custom adapter to use with any recycler view. You get a callback when the user is about to reach the bottom (or top, depending on your configuration), of the list, which you can use to load more data. You can also customize what the loading view at the bottom of the list looks like.
A simple one class
TouchListener that can be attached to any
RecyclerView and handles multi selection in google photos style via long pressing on an item and moving the finger up/down to select more items (it even scrolls if you reach the edges of the RecyclerView).
async-expandable-list contains 2 View classes:
AsyncExpandableListView displays a list of headers and loads a sub-list under a header when a header item is clicked. The loading of sub-items can be done asynchronously and there are callbacks to populate the data into the list when it's done loading.