sorry if it is a stupid question but I have little experience with development app. I'm developing a native App that make ajax call to my backend (public API) , My question is: Where I should save configuration for ajax call? For now I have create a custom static class named ConfigData and in my app I call this class like
ConfigData.apiUrl
And in my ConfigData class I have
public static String apiUrl= "www.mysite.com/public/api";
But Is there a better method?