Suppose I want to inflate 50 views inside my fragment/activity/app programmatically.
Compared to xml, does generating views programmatically in Android affect the performance of that particular fragment/activity/app?
If no then would there be any visible effect? If yes then can you please explain why?