(You don't need to know android to help solve this question)
I am using a third party library in my android app. Call it libX. libX has a class named Constants in which they keep a number of constants. One such constant is used all over inside the library. But I need the value of that constant to be different from what it is. How do I change the value of that constant?
As illustration: I want to change the value of badConstant
from “I am too bad”
to “I am good”
.
class Constants{
public static final String badConstant = “I am too bad”;
}
I am open to any sort of creative solution. The thing is if I had a setter/constructor for the value all would be well. But right now there is no setter.
Also this library is obtained as a gradle dependency (if you care)
Aucun commentaire:
Enregistrer un commentaire