Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Initial V2 Release #15

Merged
merged 2 commits into from Mar 12, 2019
Merged

Initial V2 Release #15

merged 2 commits into from Mar 12, 2019

Conversation

husseinala
Copy link
Member

What's new

  • Rewrote the complete library in Kotlin.
  • Started using androidx for dependencies.
  • Renamed BaseItem to AdapterItem.
  • Simplified AdapterItem so it no longer requires data and a handler by default, you can add these as extra parameters if needed.
  • Removed the need to create an item types enum as the unique layout id's can be used as the type instead.
  • The view holder is no longer being stored inside the AdapterItem, if you need to update a specific item after its updateItemViews method has already been called you can call notifyItemChanged(itemPosition) on the adapter.
  • Created a new sample app to better demonstrate the use of the library.

@husseinala husseinala merged commit 6bf1c28 into master Mar 12, 2019
@husseinala husseinala deleted the kotlin branch March 12, 2019 12:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants