我正在做一个应用程序,我有一个 RecyclerView( https://github.com/thoughtbot/expandable-recycler-view ),有数百个元素,Log打印了这个。
2022-02-23 17:01:21.340 D/RecyclerViewAdapterUpdateExpandable: >>Toggle Tag Tutte le carte
2022-02-23 17:01:21.992 D/View: [ANR Warning]onMeasure time too long, this =androidx.recyclerview.widget.RecyclerView{51f7538 VFED..... .F....ID 0,99-720,1257 #7f0a017e app:id/recycler_view_list}time =627 ms
2022-02-23 17:01:21.992 D/View: [ANR Warning]onMeasure time too long, this =androidx.constraintlayout.widget.ConstraintLayout{342a04c V.E...... ......ID 0,0-720,1258}time =628 ms
2022-02-23 17:01:21.993 D/View: [ANR Warning]onMeasure time too long, this =androidx.constraintlayout.widget.ConstraintLayout{e45720f V.E...... ......ID 0,-1-720,1257 #7f0a00cd app:id/fragment_container}time =629 ms
2022-02-23 17:01:21.996 D/View: [ANR Warning]onMeasure time too long, this =androidx.constraintlayout.widget.ConstraintLayout{c686b6e V.E...... ......ID 0,0-720,1353}time =632 ms
2022-02-23 17:01:21.996 D/View: [ANR Warning]onMeasure time too long, this =androidx.appcompat.widget.ContentFrameLayout{1a3af70 V.E...... ......ID 0,0-720,1353 #1020002 android:id/content}time =632 ms
2022-02-23 17:01:21.996 D/View: [ANR Warning]onMeasure time too long, this =androidx.appcompat.widget.FitWindowsLinearLayout{25104ed V.E...... ......ID 0,0-720,1353 #7f0a0037 app:id/action_bar_root}time =632 ms
2022-02-23 17:01:21.996 D/View: [ANR Warning]onMeasure time too long, this =android.widget.FrameLayout{7092eb1 V.E...... ......ID 0,91-720,1444}time =632 ms
2022-02-23 17:01:21.996 D/View: [ANR Warning]onMeasure time too long, this =android.widget.LinearLayout{9d3323b V.E...... ......ID 0,0-720,1444}time =632 ms