In most Java libraries, especially the very popular ones, developers try very hard to make sure that you are writing code against an old version of the library that will not break into a newer version (backward compatibility.)
However, sometimes they realize that they have made mistakes that are fundamental to the library as a whole and cannot be fixed. In this case, they condemn. This means that "yes, it will work the same as before, but be careful: there is a serious error in this." They usually follow this with a suggested replacement.
In a related note, while I had not done Android yet, I did a lot of Java gui development. It is so tempting to say: "I just use absolute positioning. I have no problem tracking everything." But as your program grows, itβs fairly confident that all this keeps everything under control. Only now do you have tons of code that needs to be reorganized in order to change it to a more convenient layout. Do not fall into this trap: use a good layout manager from the very beginning!
source share