Skip to content
This repository has been archived by the owner on Sep 30, 2021. It is now read-only.

Weird bug when posting new issue comment #102

Closed
heinrichreimer opened this issue Mar 8, 2017 · 2 comments
Closed

Weird bug when posting new issue comment #102

heinrichreimer opened this issue Mar 8, 2017 · 2 comments

Comments

@heinrichreimer
Copy link
Contributor

heinrichreimer commented Mar 8, 2017

screenshot_20170308-192828
See the margin between the last and second last comment. This is there when you post a comment. It goes away when you refresh the list

@k0shk0sh
Copy link
Owner

k0shk0sh commented Mar 8, 2017

welcome to recyclerview when calling notifyItemInserted(index) does not work & adding on top of it notifyItemRangeInserted(index, total) does not fix it. I guess will just notify the whole adapter and that would fix it.

@heinrichreimer
Copy link
Contributor Author

Don't do that. Using RecyclerView's notifyItem...()methods are the way to go. You should probably check your item animator.

@k0shk0sh k0shk0sh added this to the 1.0.7 milestone Mar 9, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants