android / views-widgets-samples

Multiple samples showing the best practices in views-widgets on Android.
Apache License 2.0
5.05k stars 3.01k forks source link

constraintlayout 1.1.1 not work well in listview #63

Open TChengZ opened 6 years ago

TChengZ commented 6 years ago

i recently update the constraintlayout from 1.0.2 to 1.1.1,i found that when you scroll the listview(also expandablelistview) it run very slowly, once you change the constraintlayout to 1.0.2, the listview runs very good,i don't know how to convert this problem to the develper of ConstraintLayout,so i write it here.....

Ccixyj commented 6 years ago

try this.

app:layout_constraintHeight_default="wrap"
app:layout_constrainedHeight="true"
TChengZ commented 6 years ago

in expandablelistview?