skydoves / ExpandableLayout

🦚 An expandable layout that shows a two-level layout with an indicator.
Apache License 2.0
828 stars 54 forks source link

toggleLayout() cannot be resolved #24

Closed WenLonG12345 closed 3 years ago

WenLonG12345 commented 3 years ago

Hi, recently I found this library and the implementation is great and simple. Thanks for it :) But there is some problem regarding on the method toggleLayout(). I can't use this method as it stated as not resolved.

Here is the screenshot. Screenshot_1

I am using Fragment instead of Activity. Is it the problem exist because I am using Fragment?

PS: I notice that there is no toggleLayout() in ExpandableLayout.kt

skydoves commented 3 years ago

Hi, sorry for the late reply. The toggleLayout() function is included in the new version 1.0.7. Thanks :)