In life you incredibly often have to compromise with yourself, or as it's fashionable to say now - trade-offs. The choice between two sides. And disputes about which side to choose are simply endless. New generations come and start discussing again that the previous one does everything wrong. It's understandable, it's tempting to talk about understandable matters.
Imagine that each compromise is black and white, yes or no. The combination of different compromises is already something gray with a high degree of probability. And this is all life. The more general the theme around which the discussion goes, the sillier the polar sides.
In the industry now there's a hyped theme about T-Shape, which states that a professional developer should be good both in breadth (in all themes) and in depth (in one specific). More specifically - people eternally argue about whether an Android developer needs to be able to write backends, whether a frontend developer needs to understand how to draw mockups in Figma, and so on. This is a dispute about whether you need to deepen in your area or invest resources in studying what's happening on the sides of your area.
To tell the truth, this is a discussion about a spherical horse in a vacuum. Because both the horizontal and vertical sticks aren't limited by anything. The vertical can deepen infinitely, the horizontal expand. Moreover, your vertical stick isn't really limited in width either. You can put your life only into understanding everything exclusively in Android development. Moreover, in width your knowledge is also uneven.
And each of us constantly chooses from a bunch of trade-offs depending on accompanying conditions. In practical life you need this Whatever-Shape only such as will be enough to get a job. And requirements for all jobs are different. Somewhere they need people who are a bit more in breadth, somewhere who are strongly in depth.
On average the situation is like this: Breadth = more freedom, choice, more stable, more interesting. Depth = more money, greater necessity in you, more respect in this area. There are no right and wrong developers.