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

Duplicate seek bar in a RecyclerView #44

Open
martinflorek opened this issue Jan 6, 2017 · 1 comment
Open

Duplicate seek bar in a RecyclerView #44

martinflorek opened this issue Jan 6, 2017 · 1 comment

Comments

@martinflorek
Copy link

I have a recycler view which has SeekBarPreferenceView in its rows and after a row is recycled another SeekBar appears on the view.

Could this code be issues in the SeekBarPreferenceView on lines 45-50? Why is the seek bar view inflated and added in the onAttachedToWindow() method?

@OverRide
protected void onAttachedToWindow() {
super.onAttachedToWindow();
View view = inflate(getContext(), R.layout.seekbar_view_layout, this);
controllerDelegate.onBind(view);
}

@martinflorek
Copy link
Author

I created a pull request #45 with a fix.

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

1 participant