Skip to content

showError works only for first time #10

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

Open
djinnovations opened this issue May 29, 2016 · 2 comments
Open

showError works only for first time #10

djinnovations opened this issue May 29, 2016 · 2 comments

Comments

@djinnovations
Copy link

Firstly, its good library thanks for this!. I am using this library to show network error, in the layout the set these: app:loadingBackgroundColor="#FFFFFF" app:emptyBackgroundColor="#fbc02d" app:errorBackgroundColor="@color/disabled_grey" app:errorButtonTextColor="@color/white" app:errorContentTextColor="@color/Red"
So when I showErr its background must be grey, and yes it works for the first time. Then I have a retry button and again I check the network stat, if not good I call the same showErr method it shows the layout having the drawable I supplied and also the retry button. And the point is it shows me the content of my xml file wic is editable and Ui interactive but it was supposed to be was, it must have shown a grey background (as per this : app:errorBackgroundColor="@color/disabled_grey")

@23hp
Copy link

23hp commented Jun 22, 2016

I meet the same problem on v1.0.3

@sohambannerjee8
Copy link

Same here with v2.0.5

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

3 participants