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

Adapter is recreated on refresh #3

Closed
splundid opened this issue May 29, 2020 · 1 comment
Closed

Adapter is recreated on refresh #3

splundid opened this issue May 29, 2020 · 1 comment

Comments

@splundid
Copy link

recyclerView_photos.adapter = SimpleAdapter(photos, adapterManager)

Adapter should be created on init

@RustemMuzafarov
Copy link
Collaborator

Actually, it's only created once during first initialization. Looks like the "refresh()" method name is slightly misleading.

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