Krupen / FabulousFilter

Android library to animate Floating Action Button to Bottom Sheet Dialog and vice-versa
Apache License 2.0
2.68k stars 323 forks source link

Crashes when using ViewPager with FragmentStatePagerAdapter #6

Closed darshanpopat closed 6 years ago

darshanpopat commented 7 years ago

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 commented 7 years ago

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 commented 6 years ago

Duplicate of https://github.com/Krupen/FabulousFilter/issues/5