mansonheart
mansonheart
@miguelhincapie thank you for quick answer! Do yo mean use: ``` ``` But how can I pass some parameters to the fragment, for example? ``` BottomSheetFragment.newInstance(param1, param2) ```
Thank you! I'll try to make a fork of the library and show the problem. I think it is not related with the BottomSheetBehaviorGoogleMapsLike. The problem is that if NestedScrollView...
I created fork and reproduced problem described above you can see my code to understand the problem. Code: https://github.com/ZherebtsovAlexandr/CustomBottomSheetBehavior/blob/master/app/src/main/java/co/com/parsoniisolutions/custombottomsheetbehavior/sample/MainActivity.java#L108 See short giff: 
@miguelhincapie not tried, I added fragment in main thread. What give this?
Issue related with onLayoutChild method, i have noticed that parent.onLayoutChild(child, layoutDirection); doesn't call after added fragment.
This hack works http://stackoverflow.com/a/35804525/1890996 I using now I click button for showing bottom sheet ``` btnShowBottomSheet.setOnClickListener(new View.OnClickListener() { @Override public void onClick(View view) { FragmentManager fragmentManager = getSupportFragmentManager(); if (fragmentManager.getBackStackEntryCount()...