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

Problem with Recyclerview after show message #2

Closed
luangs7 opened this issue Dec 9, 2018 · 2 comments
Closed

Problem with Recyclerview after show message #2

luangs7 opened this issue Dec 9, 2018 · 2 comments

Comments

@luangs7
Copy link

luangs7 commented Dec 9, 2018

Hey mate, first of all I want to say congrats to the work that you have made here.

Its a really good library, to be honest.

But I'm facing a issue that is making me really crazy.

I'm calling the StatusBarAlert message and, after that, I call the setAdapter to populate my RecyclerView.

But, the onBindViewHolder its not called. Not until I scroll the empty Recycler, who is setted to "match_parent".

I tried to change the StatusBarAlert to a simple SnackBar, and it made my recycler work again.

Do you imagine what is causing this trouble with Recycleview?

@fede87
Copy link
Owner

fede87 commented Dec 10, 2018

Hi!
Thanks for the support, I tried quickly to use Status Bar Alert within test project available here https://github.com/googlesamples/android-RecyclerView post delaying adapter setting after the alert has shown, without encountering any issue.
Can you provide a sample code that replicates the error? Wich support lib and test devices are you currently using?

@luangs7
Copy link
Author

luangs7 commented Jan 2, 2019

Hey mate, I made another project to show you but I can't reproduced the issue.

I think it was a logic error by myself, maybe

Sorry about that. Thanks for your time!

@fede87 fede87 closed this as completed Jan 2, 2019
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

No branches or pull requests

2 participants