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
Get Emptiness module programmatically #18
Comments
i also tried:
clear doesn't call the binding method of emptiness module :( |
The Emptiness Module is very simple, you will get an onBind call what the adapter is empty. If the behavior is different in your project perhaps you are doing something wrong? Have you looked at the sample project? Please add full code examples |
Hey @idanatz , the problem is this Scenario:
}` |
why are you adding an empty list into the adapter? because of this line, the adapter is not really empty (it has an empty list inside as an item) remove this line and just call: |
I did it, but didn't work. I think the problem is in |
Oh, I think i see your problem. |
Exactly, in this way, I can use Emptiness module to show the user errors from the server or just advice that the result is empty :) |
I got it, did not think to use the module in this way. |
Version 1.5.0 is out with the fix. |
Hi! very nice library
I'm trying to change programmatically text and lottieview of the emptiness module. This is my flow:
or
Thanks!
The text was updated successfully, but these errors were encountered: