I have an existing old project where only one base URL is defined statically in app constant class. Now I need to implement a spinner in login activity which have 3 spinner value and each value carry one base URL statically.So when user select value from spinner it will access base URL and logging accordingly.Now my question is can I change base URL programmatically in App constant class. so that i do not need to change entire code or make a setting class.
See Question&Answers more detail:os