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

Loading skeleton return after data arrived #5

Closed
edenhalfon opened this issue Dec 21, 2017 · 2 comments
Closed

Loading skeleton return after data arrived #5

edenhalfon opened this issue Dec 21, 2017 · 2 comments

Comments

@edenhalfon
Copy link

Im using the skeleton and when I'm binding it to the recycler view it's automatically disappear when data is in place, but when I enter to another fragment and then return to the one with the loading the skeleton returns again.
I tried to use the hide() function but it just hiding the recycler as well.

@ethanhua
Copy link
Owner

@edenhalfon can you provide your code?and make sure not call RecyclerView setAdapter method after call Skeleton's show method

@Radhakrishn
Copy link

I'm getting exception when i try to load same screen again, first time it is working, 3rd or 4th time its crashing. " java.lang.NullPointerException: Attempt to invoke virtual method 'boolean android.graphics.Bitmap.isRecycled()' on a null object reference"

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