androidx.navigation:navigation-ui is causing increasing inflation time for each component (in Java xml project)?
NegativeArtificial Intelligence
androidx.navigation:navigation-ui is causing increasing inflation time for each component (in Java xml project)?
A developer has reported that removing the 'androidx.navigation:navigation-ui:2.9.5' dependency from their pure Java XML project significantly reduces the inflation time of MaterialButtons. This change decreased the inflation time from 4.5-6ms to 3.5-4ms, raising concerns about the performance impact of the navigation library. Such findings are crucial as they highlight potential inefficiencies in widely used libraries, prompting developers to reconsider their dependencies for better performance.
— via World Pulse Now AI Editorial System



