Comments (6)
@skydoves
I played a little with ExpandableLayout
class and after i added the below line it works with me fine. but in fact i don't why ?
Could you advise ?
from expandablelayout.
@MohamedHatemAbdu
Hi, I think if the secondlayout
is a RecyclerView
, the flow will go to the ViewGroup
case.
Because RecyclerView
is a ViewGroup
.
RecyclerView
is a ViewGroup
but It doesn't have any View
child via added addView
.
So I think using child.measuredHeight
is more correct instead of using setMeasureHeight
.
Thank you for your issue :)
This will be applied to the next release!
from expandablelayout.
@skydoves There is another issue :
The recyclerview
doesn't retain it's status correctly.
If you have many items in the list and you expanded only the first item in the list, may be you find other items in the list expanded (but you didn't expand them) due to the recycling.
And i think this issue due to we save the status of expanding in Expandablelayout
view itself through a Boolean var isExpandable
.
from expandablelayout.
This will be applied to the next release!
Hi @skydoves when are you planning to release this?
I am also getting same issue.
from expandablelayout.
Hi, I fixed the measuring function internally, it's released a new version 1.0.5
.
If you check working well in a new version, this issue will be closed.
Thank you for your issue :)
from expandablelayout.
Duplicated #5.
from expandablelayout.
Related Issues (20)
- demo project HOT 2
- Parent height does not dynamic
- New version? HOT 1
- Wrong header size HOT 1
- Spinner expanded icon color HOT 1
- Expand animation not working HOT 1
- arrow view bug HOT 1
- Fixed height, not able to see the full view. HOT 7
- toggleLayout() cannot be resolved HOT 1
- secondLayout not completely hide when collapsing HOT 2
- setVisibility not working
- Recycle view - example
- Recycler View in second Layout is not mesured HOT 2
- View Binding for parent and second layouts
- Spinner icon color only changes one time programmatically HOT 1
- The lib has weird issues in RecyclerView
- conflicts with another tag that has the same ID HOT 1
- Duplicate Arrow HOT 1
- Parent layout textview is not showing multi text
- Library not working with the app written in java
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from expandablelayout.