I had a question about big scale projects. what if the team decides to change a library and therefor the codes should be changed. for example what if the team wants to change the picasso library to glide so we should change the Picasso.get().load().into(); 100 times.how should we handle this situations?
As it is, there is nothing you can do except weigh the advantage of using a better library against the cost of adapting all calls to theold library in your code base.
In the future, it could be a good idea to buy "insurance" against dependency on third-party code by isolating all calls to it into one particular adapter module. That way, your business code would only contains statements of the sort
load_image(), while the dependency on Picasso is confined to the implementation of
load_image(). That way, when the third party provider changes, you have to change it in only one place rather than all over the place.