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

Custom Adapter #5

Open
maks-novikov opened this issue Aug 3, 2017 · 2 comments
Open

Custom Adapter #5

maks-novikov opened this issue Aug 3, 2017 · 2 comments

Comments

@maks-novikov
Copy link

Hi, when i try use custom Adapter i got Exception at: positionViews(0,nChilds) RossDeckVeiw line:133
it happens because in method addChildToLayout() FrameLayout.LayoutParams lp = (FrameLayout.LayoutParams) child.getLayoutParams();
lp get null , ican't undersand why

@pesonsita
Copy link

I get the same Error if I want to use a custom adapter.
@diogobernardino , Could you help us please?
Thanks you

@diogobernardino
Copy link
Owner

I do use it with a custom adapter and I have no problems. I do not recall having fix anything in that part of the code, but anyway, perhaps you can give version 1.2 a try.

compile 'com.diogobernardino:rossdeckview:1.2'

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