skydoves / ExpandableLayout

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

How can I show ListView or RecyclerView inside secondLayout? #2

Closed Pirokar closed 4 years ago

Pirokar commented 4 years ago

My implementation not work. https://prnt.sc/pdgzsa https://prnt.sc/pdgzxy When I expanding parentLayout, there is no list. But if I put a button there, I see the button and first item of recyclerView

skydoves commented 4 years ago

@Pirokar Hi, thank you for your issue. It seems the second layout could not measure the RecyclerView's height correctly. Could you try again with the fixed height size of RecyclerView's item? like this.

Pirokar commented 4 years ago

@skydoves yes, it works with fixed height size. But I need NOT fixed height, depending of content size.

skydoves commented 4 years ago

@Pirokar Fixed and released a new version 1.0.1. Thank you :)