Releases: davideas/FlexibleAdapter
Releases · davideas/FlexibleAdapter
v4.2.0
- Added isEmpty().
- Added new constructor to initialize list items [See #12].
- Moved onDeletedConfirmed() in a new listener to pass as parameter to the method startUndoTimer() [See #10].
- Deprecated OnUpdateListener and some relative functions.
- Note: updateDataSetAsync() has been deprecated and will be removed soon from next major version. Use updateDataSet() instead.
FilterAsyncTask will not be used anymore to load data at startup: there's no advantage to use an Asynchronous loading,
usually the list is already loaded Asynchronously somewhere else. - Removed static declaration from the following methods: hasSearchText(); getSearchText(); setSearchText(String searchText).
- Adapted example App accordingly.
v4.1.0
v4.0.1
- Refactored module names, package signatures and gradle build files. Code remains unchanged.
- Configuration for JCenter, now FlexibleAdapter is a lightweight standalone library!
Note: FastScroller and ItemAnimators are excluded from the library, but you can see them in the example App. - New icon.
v4.0.0
- Added FilterAsyncTask to asynchronously load the list (This might not work well and binding is excluded from Async).
- Enabled Search filter through updateDataSet method (Note: as the example is made, the search regenerate the list!).
- Included some ItemAnimators from https://github.com/wasabeef/recyclerview-animators
(in the example SlideInRightAnimator is used), but all need to be adapted if used with Support v23.1.0. - Included and customized FastScroller library from https://github.com/AndroidDeveloperLB/LollipopContactsRecyclerViewFastScroller
My version has FrameLayout extended instead of LinearLayout, and a friendly layout. - Added SwipeRefreshLayout, just an usage example.
- Use of Handler instead of TimerTask while Undo.
- FlexibleAdapter can now return deleted items before they are removed from memory.
- SelectableAdapter.selectAll() can now skip selection on one specific ViewType.
- Adapted MainActivity.
v3.1
v3.0
v2.2
v2.1
v2.0
- Added Mode for Multi and Single fixed selection. The Multi selection was already active, but the Single fixed selection mode still not.
- Reviewed method: toggleSelection(int position) - Adapted for Mode functionality. For more details see the comment of the method!
- Added new method getPositionForItem(T item) - Self explanatory
- Added new method contains(T item) - Another useful method
- Reviewed method updateDataSet(String param) - Added the parameter to filter DataSet
Initial release
Covers the simple selection for a basic Adapter.