Skip to content

Releases: davideas/FlexibleAdapter

v4.2.0

10 Dec 22:47
Compare
Choose a tag to compare
  • 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

29 Nov 18:28
Compare
Choose a tag to compare
  • Improved Undo functionality: added new callback onDeleteConfirmed in OnUpdateListener. See Wiki for full details!
  • Improved Filter functionality: added new intelligent function filterItems. See Wiki for full details!
  • Logs are now in verbose level.
  • Adapted example App accordingly.

v4.0.1

01 Nov 16:25
Compare
Choose a tag to compare
  • 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

01 Nov 17:19
Compare
Choose a tag to compare
  • 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

25 Oct 15:52
Compare
Choose a tag to compare
  • Updated compileSdkVersion and Support libraries to v23
  • Customised Undo timeout in the example Activity with original Snackbar
  • Added comment for initialization

v3.0

25 Oct 15:40
Compare
Choose a tag to compare
  • Added Undo functionality
  • Moved getItem() into FlexibleAdapter, method now is part of the library
  • Added synchronized blocks for write operations on mItems list

v2.2

25 Oct 15:29
Compare
Choose a tag to compare
  • New full working example Android Studio project! (with some nice extra-features)

v2.1

25 Oct 15:27
Compare
Choose a tag to compare
  • Added new method updateItem()
  • Deprecated removeSelection() -> Use toggleSelection() instead!
  • In clearSelection removed call to notifyDataSetChanged().
  • Improved others methods.
  • Added more comments.

v2.0

25 Oct 15:17
Compare
Choose a tag to compare
  • 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

25 Oct 15:05
Compare
Choose a tag to compare

Covers the simple selection for a basic Adapter.