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

Fixed bug with different row heights #38

Merged
merged 3 commits into from
Nov 14, 2015
Merged

Fixed bug with different row heights #38

merged 3 commits into from
Nov 14, 2015

Conversation

graphee-gabriel
Copy link
Contributor

  • Fixed bug with different row heights
    When an item is deleted, it's view is being shrink and them the list is refreshed with the new data.
    When the view is recycled it needs to be reseted to the right size.
    It is now set to WRAP_CONTENT to match the content row size.
  • Added enabling/disabling of swipe directions

graphee-gabriel added 3 commits November 9, 2015 11:44
When an item is deleted, it's view is being shrink and them the list is refreshed with the new data.
When the view is recycled it needs to be reseted to the right size.
It is now set to WRAP_CONTENT to match the content row size.
None are enabled by default.
Enables on addBackground for the specific direction.
Can be enabled without adding background by calling the function on the adapter (swipeAdapter.addEnabledDirection(DIRECTION))
@wdullaer
Copy link
Owner

Great stuff.
I seem to be perpetually low on time, but I'll try to take a look at this soon

@wdullaer wdullaer merged commit ae0544f into wdullaer:master Nov 14, 2015
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.

2 participants