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

Crashes when using ViewPager with FragmentStatePagerAdapter #6

Closed
darshanpopat opened this issue Sep 11, 2017 · 2 comments
Closed

Crashes when using ViewPager with FragmentStatePagerAdapter #6

darshanpopat opened this issue Sep 11, 2017 · 2 comments

Comments

@darshanpopat
Copy link

Hello,

I am using this library for Filtering in my application. And it's fantastic in look and use.
I am getting a crash when I use ViewPager with FragmentStatePagerAdapter in this library.
Here is crash : java.lang.IllegalStateException: Fragment does not have a view
And I can't find any solution to stop crashing and make this work.
Can you help me make it run ?

Thanks in Advance.

@Krupen
Copy link
Owner

Krupen commented Sep 12, 2017

Hi @darshanpopat , presently this library doesn't work with ViewPager-with-fragments, you will have to use ViewPager-with-views. You can use sample app for reference on how to create ViewPager-with-views. We are presently trying to find a way to make it work with ViewPagers-with-fragments.

@Krupen
Copy link
Owner

Krupen commented Oct 9, 2017

Duplicate of #5

@Krupen Krupen marked this as a duplicate of #5 Oct 9, 2017
@Krupen Krupen closed this as completed Oct 9, 2017
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