Why aren’t we using ConstraintLayout in Jetpack compose as much as we did in XML?

  Kiến thức lập trình

I’ve been reviewing codes and I realized we don’t use ConstraintLayout as often as we did in XML.

In XML we were encouraged to use ConstraintLayout due to the performance concerns instead of those nested layouts but now I see many codes with several columns and rows which could be easily replaced by ConstraintLayout.

Is there any reason behind this?

New contributor

Nadi Parsa is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.

LEAVE A COMMENT